From: David ‘Bombe’ Roden Date: Thu, 11 Nov 2010 20:31:38 +0000 (+0100) Subject: Move newPosts and knownPosts below posts. X-Git-Tag: 0.2.1~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fc5904c02569a36c5ee3707a75cd1fff7d4801a6;p=Sone.git Move newPosts and knownPosts below posts. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 841f560..e34e94b 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -113,6 +113,9 @@ public class Core implements IdentityListener { /* synchronize access on {@link #newSones}. */ private Set knownSones = new HashSet(); + /** All posts. */ + private Map posts = new HashMap(); + /** All new posts. */ private Set newPosts = new HashSet(); @@ -120,9 +123,6 @@ public class Core implements IdentityListener { /* synchronize access on {@link #newPosts}. */ private Set knownPosts = new HashSet(); - /** All posts. */ - private Map posts = new HashMap(); - /** All replies. */ private Map replies = new HashMap();