SOLR-5473 forbidden API usage

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587876 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2014-04-16 11:38:14 +00:00
parent fa14856bc8
commit bae74d6649
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
@ -391,7 +392,7 @@ public final class ZookeeperInfoServlet extends HttpServlet {
List<String> children = zkClient.getChildren("/collections", null, true);
java.util.Collections.sort(children);
for (String collection : children) {
String collStatePath = String.format("/collections/%s/state", collection);
String collStatePath = String.format(Locale.ROOT, "/collections/%s/state", collection);
String childDataStr = null;
try {
byte[] childData = zkClient.getData(collStatePath, null, null, true);