From c28a1233dc8daf4713b53f688110e0332e7a7340 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Oct 2010 11:40:50 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20forget=20to=20set=20the=20name?= =?utf8?q?=20of=20the=20Sone.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/core/SoneDownloader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index a8d7deb..da33b0b 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -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) { -- 2.7.4