logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396366 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Date Tue, 09 Oct 2012 21:57:48 GMT
Author: ggregory
Date: Tue Oct  9 21:57:48 2012
New Revision: 1396366

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java?rev=1396366&r1=1396365&r2=1396366&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Tue Oct  9 21:57:48 2012
@@ -47,7 +47,7 @@ public class PluginManager {
     private static ConcurrentMap<String, ConcurrentMap<String, PluginType>> pluginTypeMap
=
         new ConcurrentHashMap<String, ConcurrentMap<String, PluginType>>();
 
-    private static CopyOnWriteArrayList<String> packages = new CopyOnWriteArrayList<String>();
+    private static final CopyOnWriteArrayList<String> packages = new CopyOnWriteArrayList<String>();
     private static final String PATH = "org/apache/logging/log4j/core/config/plugins/";
     private static final String FILENAME = "Log4j2Plugins.dat";
     private static final String LOG4J_PACKAGES = "org.apache.logging.log4j.core";



Mime
View raw message