commons-commits mailing list archives

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

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

Modified:
    commons/sandbox/digester3/trunk/src/examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/AddressBook.java

Modified: commons/sandbox/digester3/trunk/src/examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/AddressBook.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/AddressBook.java?rev=1130658&r1=1130657&r2=1130658&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/AddressBook.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/AddressBook.java
Thu Jun  2 17:10:35 2011
@@ -26,7 +26,7 @@ import java.util.Iterator;
 public class AddressBook
 {
 
-    LinkedList<Person> people = new LinkedList<Person>();
+    private final LinkedList<Person> people = new LinkedList<Person>();
 
     public void addPerson( Person p )
     {



Mime
View raw message