commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1090710 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
Date Sat, 09 Apr 2011 23:43:17 GMT
Author: simonetripodi
Date: Sat Apr  9 23:43:17 2011
New Revision: 1090710

URL: http://svn.apache.org/viewvc?rev=1090710&view=rev
Log:
hystory URL list can be final

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java?rev=1090710&r1=1090709&r2=1090710&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
Sat Apr  9 23:43:17 2011
@@ -77,7 +77,7 @@ public class DiscoverClasses<T> extends 
 
         return new ResourceClassIterator<T>() {
 
-            private List<URL> history = new ArrayList<URL>();
+            private final List<URL> history = new ArrayList<URL>();
 
             private int idx = 0;
 



Mime
View raw message