lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r633706 - /lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
Date Tue, 04 Mar 2008 23:35:48 GMT
Author: yonik
Date: Tue Mar  4 15:35:43 2008
New Revision: 633706

URL: http://svn.apache.org/viewvc?rev=633706&view=rev
Log:
StringBuffer -> StringBuilder

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java?rev=633706&r1=633705&r2=633706&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java Tue Mar  4 15:35:43
2008
@@ -659,7 +659,7 @@
    * @see QueryParser#escape
    */
   public static CharSequence partialEscape(CharSequence s) {
-    StringBuffer sb = new StringBuffer();
+    StringBuilder sb = new StringBuilder();
     for (int i = 0; i < s.length(); i++) {
       char c = s.charAt(i);
       if (c == '\\' || c == '!' || c == '(' || c == ')' ||



Mime
View raw message