commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1101760&view=rev
Log:
reduced bodyTexts stack visibility
bodyTexts stacj 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=1101760&r1=1101759&r2=1101760&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 06:32:49 2011
@@ -150,7 +150,7 @@ public class Digester extends DefaultHan
     /**
      * The stack of body text string buffers for surrounding elements.
      */
-    protected Stack<StringBuilder> bodyTexts = new Stack<StringBuilder>();
+    private final Stack<StringBuilder> bodyTexts = new Stack<StringBuilder>();
 
 
     /**



Mime
View raw message