From: David ‘Bombe’ Roden Date: Thu, 14 Oct 2010 15:49:17 +0000 (+0200) Subject: Don’t add Sone twice. X-Git-Tag: 0.1-RC1~367 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cc4bf4e3152f203a76e8def6980fd9e13fc9f8bc;hp=25279f00b65d2373eb957dcbc6bc2e6c34a68c3a;p=Sone.git Don’t add Sone twice. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index a300c66..fe4586b 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -209,7 +209,6 @@ public class Core extends AbstractService { } catch (MalformedURLException mue1) { throw new SoneException(Type.INVALID_URI); } - localSones.add(sone); return sone; }