commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130677 - /commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java
Date Thu, 02 Jun 2011 17:35:12 GMT
Author: simonetripodi
Date: Thu Jun  2 17:35:12 2011
New Revision: 1130677

URL: http://svn.apache.org/viewvc?rev=1130677&view=rev
Log:
internal collection can be private final

Modified:
    commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java

Modified: commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java?rev=1130677&r1=1130676&r2=1130677&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Catalog.java
Thu Jun  2 17:35:12 2011
@@ -26,7 +26,7 @@ import java.util.Iterator;
 public class Catalog
 {
 
-    LinkedList<Item> items = new LinkedList<Item>();
+    private final LinkedList<Item> items = new LinkedList<Item>();
 
     public void addItem( Item item )
     {



Mime
View raw message