Change javadoc comment.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index 6225087..6bfa5cd 100644 (file)
@@ -303,7 +303,8 @@ public class Core extends AbstractService {
        }
 
        /**
-        * Loads the Sone from the given request URI.
+        * Loads the Sone from the given request URI. The fetching of the data is
+        * performed in a new thread so this method returns immediately.
         *
         * @param requestUri
         *            The request URI to load the Sone from
@@ -493,7 +494,7 @@ public class Core extends AbstractService {
                                        String friendKey = configuration.getStringValue(friendPrefix + "/Key").getValue(null);
                                        String friendName = configuration.getStringValue(friendPrefix + "/Name").getValue(null);
                                        friendSone.setRequestUri(new FreenetURI(friendKey)).setName(friendName);
-                                       soneDownloader.addSone(friendSone);
+                                       loadSone(friendKey);
                                        sone.addFriend(friendSone);
                                }