logging-commits mailing list archives

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

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/BasicContextSelector.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/BasicContextSelector.java?rev=1396269&r1=1396268&r2=1396269&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/BasicContextSelector.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/selector/BasicContextSelector.java
Tue Oct  9 20:05:19 2012
@@ -28,7 +28,7 @@ import java.util.List;
  */
 public class BasicContextSelector implements ContextSelector {
 
-    private static LoggerContext context = new LoggerContext("Default");
+    private static final LoggerContext context = new LoggerContext("Default");
 
     public LoggerContext getContext(String fqcn, ClassLoader loader, boolean currentContext)
{
 



Mime
View raw message