SOLR-8566: SyncStrategy.syncWithReplicas initialCapacity tweak

This commit is contained in:
Christine Poerschke 2016-01-26 13:26:25 +00:00
parent f31560bd8e
commit 2782f60744
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public class SyncStrategy {
return true; return true;
} }
List<String> syncWith = new ArrayList<>(); List<String> syncWith = new ArrayList<>(nodes.size());
for (ZkCoreNodeProps node : nodes) { for (ZkCoreNodeProps node : nodes) {
syncWith.add(node.getCoreUrl()); syncWith.add(node.getCoreUrl());
} }