jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380368 - /jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java
Date Mon, 03 Sep 2012 21:23:59 GMT
Author: pmouawad
Date: Mon Sep  3 21:23:58 2012
New Revision: 1380368

URL: http://svn.apache.org/viewvc?rev=1380368&view=rev
Log:
Make fields final

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java?rev=1380368&r1=1380367&r2=1380368&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/util/XMLBuffer.java Mon Sep  3 21:23:58 2012
@@ -28,9 +28,9 @@ import org.apache.commons.collections.Ar
  *
  */
 public class XMLBuffer{
-    private StringBuilder sb = new StringBuilder(); // the string so far
+    private final StringBuilder sb = new StringBuilder(); // the string so far
 
-    private ArrayStack tags = new ArrayStack(); // opened tags
+    private final ArrayStack tags = new ArrayStack(); // opened tags
 
     public XMLBuffer(){
 



Mime
View raw message