jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1690134 - /jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java
Date Thu, 09 Jul 2015 18:06:28 GMT
Author: juanpablo
Date: Thu Jul  9 18:06:28 2015
New Revision: 1690134

URL: http://svn.apache.org/r1690134
Log:
StringBuffer -> StringBuilder

Modified:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java?rev=1690134&r1=1690133&r2=1690134&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java (original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/parser/LinkParser.java Thu Jul
 9 18:06:28 2015
@@ -19,7 +19,12 @@
 
 package org.apache.wiki.parser;
 
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+import java.util.NoSuchElementException;
+import java.util.StringTokenizer;
 
 import org.apache.log4j.Logger;
 import org.jdom2.Attribute;
@@ -540,7 +545,7 @@ public class LinkParser
          */
         public String toString()
         {
-            StringBuffer sb = new StringBuffer();
+            StringBuilder sb = new StringBuilder();
             sb.append( '[' );
             sb.append( m_text );
 



Mime
View raw message