Move newPosts and knownPosts below posts.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Nov 2010 20:31:38 +0000 (21:31 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Nov 2010 20:31:38 +0000 (21:31 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index 841f560..e34e94b 100644 (file)
@@ -113,6 +113,9 @@ public class Core implements IdentityListener {
        /* synchronize access on {@link #newSones}. */
        private Set<String> knownSones = new HashSet<String>();
 
+       /** All posts. */
+       private Map<String, Post> posts = new HashMap<String, Post>();
+
        /** All new posts. */
        private Set<String> newPosts = new HashSet<String>();
 
@@ -120,9 +123,6 @@ public class Core implements IdentityListener {
        /* synchronize access on {@link #newPosts}. */
        private Set<String> knownPosts = new HashSet<String>();
 
-       /** All posts. */
-       private Map<String, Post> posts = new HashMap<String, Post>();
-
        /** All replies. */
        private Map<String, Reply> replies = new HashMap<String, Reply>();