From: David ‘Bombe’ Roden Date: Sat, 28 Nov 2009 18:39:12 +0000 (+0100) Subject: Count statistics over all connections created in the current VM. X-Git-Tag: v0.1.2.3~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f26076a082cc6a3f8d6ec20689e0dda1e2b264ef;p=jFCPlib.git Count statistics over all connections created in the current VM. --- diff --git a/src/main/java/net/pterodactylus/fcp/FcpConnection.java b/src/main/java/net/pterodactylus/fcp/FcpConnection.java index e2bf72a..484e7c3 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpConnection.java +++ b/src/main/java/net/pterodactylus/fcp/FcpConnection.java @@ -68,7 +68,7 @@ public class FcpConnection implements Closeable { private FcpConnectionHandler connectionHandler; /** Incoming message statistics. */ - private Map incomingMessageStatistics = Collections.synchronizedMap(new HashMap()); + private static final Map incomingMessageStatistics = Collections.synchronizedMap(new HashMap()); /** * Creates a new FCP connection to the freenet node running on localhost,