Count statistics over all connections created in the current VM.
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpConnection.java
index e2bf72a..484e7c3 100644 (file)
@@ -68,7 +68,7 @@ public class FcpConnection implements Closeable {
        private FcpConnectionHandler connectionHandler;
 
        /** Incoming message statistics. */
-       private Map<String, Integer> incomingMessageStatistics = Collections.synchronizedMap(new HashMap<String, Integer>());
+       private static final Map<String, Integer> incomingMessageStatistics = Collections.synchronizedMap(new HashMap<String, Integer>());
 
        /**
         * Creates a new FCP connection to the freenet node running on localhost,