From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 09:58:26 +0000 (+0200) Subject: Add name to Sone constructor call. X-Git-Tag: 0.1-RC1~502 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=71f2feeb1e3684ec2bb12a02c6b80f88b0f25a23;p=Sone.git Add name to Sone constructor call. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 3399e9c..77b80cf 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -140,7 +140,7 @@ public class Core extends AbstractService { String insertUri = configuration.getStringValue("Sone/Name." + soneName + "/InsertURI").getValue(null); String requestUri = configuration.getStringValue("Sone/Name." + soneName + "/RequestURI").getValue(null); try { - localSones.add(new Sone(new FreenetURI(requestUri), new FreenetURI(insertUri))); + localSones.add(new Sone(soneName, new FreenetURI(requestUri), new FreenetURI(insertUri))); } catch (MalformedURLException mue1) { logger.log(Level.WARNING, "Could not create Sone from requestUri (“" + requestUri + "”) and insertUri (“" + insertUri + "”)!", mue1); }