Description can never be null.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 5 Aug 2014 15:59:34 +0000 (17:59 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 5 Aug 2014 15:59:34 +0000 (17:59 +0200)
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java

index 6703fc4..69f8561 100644 (file)
@@ -437,7 +437,7 @@ public class SoneDownloader extends AbstractService {
                                String title = albumXml.getValue("title", null);
                                String description = albumXml.getValue("description", "");
                                String albumImageId = albumXml.getValue("album-image", null);
-                               if ((id == null) || (title == null) || (description == null)) {
+                               if ((id == null) || (title == null)) {
                                        logger.log(Level.WARNING, String.format("Downloaded Sone %s contains invalid album!", sone));
                                        return null;
                                }