From 374fd8726663084c37cf7ce2d7f752ca7a4f888e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 15 Oct 2010 23:00:55 +0200 Subject: [PATCH] Set posts and replies in parsed Sones. --- src/main/java/net/pterodactylus/sone/core/SoneDownloader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index a36c17a..8a2203c 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -233,6 +233,8 @@ public class SoneDownloader extends AbstractService { /* atomic setter operation on the Sone. */ synchronized (sone) { sone.setProfile(profile); + sone.setPosts(posts); + sone.setReplies(replies); } } catch (IOException ioe1) { logger.log(Level.WARNING, "Could not read XML file from " + sone + "!", ioe1); -- 2.7.4