logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396277 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java
Date Tue, 09 Oct 2012 20:07:55 GMT
Author: ggregory
Date: Tue Oct  9 20:07:55 2012
New Revision: 1396277

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java?rev=1396277&r1=1396276&r2=1396277&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/JNDIContextSelector.java
Tue Oct  9 20:07:55 2012
@@ -86,9 +86,9 @@ import java.util.concurrent.ConcurrentMa
  */
 public class JNDIContextSelector implements NamedContextSelector {
 
-    private static LoggerContext context = new LoggerContext("Default");
+    private static final LoggerContext context = new LoggerContext("Default");
 
-    private static ConcurrentMap<String, LoggerContext> contextMap =
+    private static final ConcurrentMap<String, LoggerContext> contextMap =
         new ConcurrentHashMap<String, LoggerContext>();
 
     private static final StatusLogger LOGGER = StatusLogger.getLogger();



Mime
View raw message