logging-commits mailing list archives

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

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java?rev=1396274&r1=1396273&r2=1396274&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java
Tue Oct  9 20:06:53 2012
@@ -46,15 +46,15 @@ import java.util.concurrent.atomic.Atomi
  */
 public class ClassLoaderContextSelector implements ContextSelector {
 
-    private static AtomicReference<LoggerContext> context = new AtomicReference<LoggerContext>();
+    private static final AtomicReference<LoggerContext> context = new AtomicReference<LoggerContext>();
 
     private static PrivateSecurityManager securityManager;
 
     private static Method getCallerClass;
 
-    private static StatusLogger logger = StatusLogger.getLogger();
+    private static final StatusLogger logger = StatusLogger.getLogger();
 
-    private static ConcurrentMap<String, AtomicReference<WeakReference<LoggerContext>>>
contextMap =
+    private static final ConcurrentMap<String, AtomicReference<WeakReference<LoggerContext>>>
contextMap =
         new ConcurrentHashMap<String, AtomicReference<WeakReference<LoggerContext>>>();
 
 



Mime
View raw message