From: David ‘Bombe’ Roden Date: Fri, 15 Oct 2010 21:01:09 +0000 (+0200) Subject: Set modification counter to 0 after loading the Sone from Freenet. X-Git-Tag: 0.1-RC1~307 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1c7c9a54dde1c45ea26401ac26837ccf04b01962;p=Sone.git Set modification counter to 0 after loading the Sone from Freenet. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 8a2203c..efd13e4 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -235,6 +235,7 @@ public class SoneDownloader extends AbstractService { sone.setProfile(profile); sone.setPosts(posts); sone.setReplies(replies); + sone.setModificationCounter(0); } } catch (IOException ioe1) { logger.log(Level.WARNING, "Could not read XML file from " + sone + "!", ioe1);