logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396176 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java
Date Tue, 09 Oct 2012 18:37:24 GMT
Author: ggregory
Date: Tue Oct  9 18:37:23 2012
New Revision: 1396176

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java?rev=1396176&r1=1396175&r2=1396176&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/AbstractServer.java
Tue Oct  9 18:37:23 2012
@@ -23,7 +23,7 @@ import org.apache.logging.log4j.LogManag
  */
 public class AbstractServer {
 
-    private LoggerContext context;
+    private final LoggerContext context;
 
     protected AbstractServer() {
         context = (LoggerContext) LogManager.getContext();



Mime
View raw message