From fb295f381c8d918584f6206028d310052ee97e9d Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 4 Mar 2008 23:35:43 +0000 Subject: [PATCH] StringBuffer -> StringBuilder git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@633706 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/util/SolrPluginUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/util/SolrPluginUtils.java b/src/java/org/apache/solr/util/SolrPluginUtils.java index 3a20d117274..6aedd296a10 100644 --- a/src/java/org/apache/solr/util/SolrPluginUtils.java +++ b/src/java/org/apache/solr/util/SolrPluginUtils.java @@ -659,7 +659,7 @@ public class SolrPluginUtils { * @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 == ')' ||