commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1101975 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Date Wed, 11 May 2011 16:52:30 GMT
Author: simonetripodi
Date: Wed May 11 16:52:30 2011
New Revision: 1101975

URL: http://svn.apache.org/viewvc?rev=1101975&view=rev
Log:
the 'stacksByName' instance can be final

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java?rev=1101975&r1=1101974&r2=1101975&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Wed May 11 16:52:30 2011
@@ -337,7 +337,7 @@ public class Digester extends DefaultHan
     private Substitutor substitutor;
     
     /** Stacks used for interrule communication, indexed by name String */
-    private HashMap<String, Stack<Object>> stacksByName = new HashMap<String,
Stack<Object>>();
+    private final HashMap<String, Stack<Object>> stacksByName = new HashMap<String,
Stack<Object>>();
     
     /**
      * If not null, then calls by the parser to this object's characters, 



Mime
View raw message