You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/30 16:49:42 UTC
[lucene-solr] branch reference_impl_dev updated: @636 Use
StringBuilder.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new ca845e6 @636 Use StringBuilder.
ca845e6 is described below
commit ca845e680653240d9b74da69631ff528d587d250
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Aug 30 11:49:21 2020 -0500
@636 Use StringBuilder.
---
.../java/org/apache/solr/client/solrj/io/graph/GatherNodesStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/GatherNodesStream.java b/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/GatherNodesStream.java
index dae7f8b..fd89a9c 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/GatherNodesStream.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/GatherNodesStream.java
@@ -459,7 +459,7 @@ public class GatherNodesStream extends TupleStream implements Expressible {
joinSParams.set("qt", "/export");
joinSParams.set(SORT, gather + " asc,"+traverseTo +" asc");
- StringBuffer nodeQuery = new StringBuffer();
+ StringBuilder nodeQuery = new StringBuilder(64);
boolean comma = false;
for(String node : nodes) {