logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396252 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
Date Tue, 09 Oct 2012 19:56:08 GMT
Author: ggregory
Date: Tue Oct  9 19:56:08 2012
New Revision: 1396252

URL: http://svn.apache.org/viewvc?rev=1396252&view=rev
Log:
Make ivars final.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java?rev=1396252&r1=1396251&r2=1396252&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
Tue Oct  9 19:56:08 2012
@@ -55,9 +55,9 @@ public class SocketServer extends Abstra
 
     private boolean isActive = true;
 
-    private ServerSocket server;
+    private final ServerSocket server;
 
-    private ConcurrentMap<Long, SocketHandler> handlers = new ConcurrentHashMap<Long,
SocketHandler>();
+    private final ConcurrentMap<Long, SocketHandler> handlers = new ConcurrentHashMap<Long,
SocketHandler>();
 
     /**
      * Constructor.



Mime
View raw message