commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1503770 - in /commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver: CleanProcessor.java WeaveProcessor.java
Date Tue, 16 Jul 2013 15:59:02 GMT
Author: mbenson
Date: Tue Jul 16 15:59:02 2013
New Revision: 1503770

URL: http://svn.apache.org/r1503770
Log:
make SPI instance lists final

Modified:
    commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/CleanProcessor.java
    commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/WeaveProcessor.java

Modified: commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/CleanProcessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/CleanProcessor.java?rev=1503770&r1=1503769&r2=1503770&view=diff
==============================================================================
--- commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/CleanProcessor.java
(original)
+++ commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/CleanProcessor.java
Tue Jul 16 15:59:02 2013
@@ -38,7 +38,7 @@ import org.apache.xbean.finder.archive.F
 public class CleanProcessor {
 
     /** List of picked up cleaner plugins */
-    private static List<Cleaner> CLEANERS = new ArrayList<Cleaner>();
+    private static final List<Cleaner> CLEANERS;
     static {
         List<Cleaner> cleaners = new ArrayList<Cleaner>();
         for (Cleaner c : ServiceLoader.load(Cleaner.class)) {

Modified: commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/WeaveProcessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/WeaveProcessor.java?rev=1503770&r1=1503769&r2=1503770&view=diff
==============================================================================
--- commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/WeaveProcessor.java
(original)
+++ commons/sandbox/weaver/trunk/processor/src/main/java/org/apache/commons/weaver/WeaveProcessor.java
Tue Jul 16 15:59:02 2013
@@ -38,7 +38,7 @@ import org.apache.xbean.finder.archive.F
 public class WeaveProcessor {
 
     /** List of picked up weaver plugins */
-    private static List<Weaver> WEAVERS = new ArrayList<Weaver>();
+    private static final List<Weaver> WEAVERS;
 
     static {
         List<Weaver> weavers = new ArrayList<Weaver>();



Mime
View raw message