commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1128519 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java
Date Fri, 27 May 2011 23:19:40 GMT
Author: simonetripodi
Date: Fri May 27 23:19:40 2011
New Revision: 1128519

URL: http://svn.apache.org/viewvc?rev=1128519&view=rev
Log:
markers and sources can be final

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java?rev=1128519&r1=1128518&r2=1128519&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/substitution/MultiVariableExpander.java
Fri May 27 23:19:40 2011
@@ -35,9 +35,9 @@ public class MultiVariableExpander
 
     private int nEntries = 0;
 
-    private ArrayList<String> markers = new ArrayList<String>( 2 );
+    private final ArrayList<String> markers = new ArrayList<String>( 2 );
 
-    private ArrayList<Map<String, Object>> sources = new ArrayList<Map<String,
Object>>( 2 );
+    private final ArrayList<Map<String, Object>> sources = new ArrayList<Map<String,
Object>>( 2 );
 
     public void addSource( String marker, Map<String, Object> source )
     {



Mime
View raw message