SOLR-5796: Fix illegal API call to format.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-03-05 21:12:41 +00:00
parent f9124b8d03
commit 7f31dc2d7d
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
@ -872,7 +873,7 @@ public final class ZkController {
.getCoreUrl();
if (tries % 30 == 0) {
String warnMsg = String.format("Still seeing conflicting information about the leader "
String warnMsg = String.format(Locale.ENGLISH, "Still seeing conflicting information about the leader "
+ "of shard %s for collection %s after %d seconds; our state says %s, but ZooKeeper says %s",
cloudDesc.getShardId(), collection, tries, clusterStateLeaderUrl, leaderUrl);
log.warn(warnMsg);