Don’t forget to set the name of the Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 09:40:50 +0000 (11:40 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 09:40:50 +0000 (11:40 +0200)
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java

index a8d7deb..da33b0b 100644 (file)
@@ -169,6 +169,7 @@ public class SoneDownloader extends AbstractService {
                                logger.log(Level.WARNING, "Downloaded name for Sone %s was null!", new Object[] { sone });
                                return null;
                        }
+                       sone.setName(soneName);
 
                        SimpleXML profileXml = soneXml.getNode("profile");
                        if (profileXml == null) {