commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1089229 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
Date Tue, 05 Apr 2011 21:21:55 GMT
Author: sebb
Date: Tue Apr  5 21:21:55 2011
New Revision: 1089229

URL: http://svn.apache.org/viewvc?rev=1089229&view=rev
Log:
Private field might as well be final

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java?rev=1089229&r1=1089228&r2=1089229&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
Tue Apr  5 21:21:55 2011
@@ -43,7 +43,7 @@ public class NameDiscoverers extends Res
         log = _log;
     }
 
-    private List<ResourceNameDiscover> discoverers = new ArrayList<ResourceNameDiscover>();
+    private final List<ResourceNameDiscover> discoverers = new ArrayList<ResourceNameDiscover>();
 
     /**
      *  Construct a new resource name discoverer



Mime
View raw message