SOLR-5476: Fix forbidden.

PLEASE RUN "ant precommit" (root) or alternatively the faster "ant check-forbidden-apis" (in your module folder) before committing!

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-01-17 08:07:46 +00:00
parent a8b5fe376a
commit 021b937b27
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
@ -158,7 +159,7 @@ public class OverseerRolesTest extends AbstractFullDistribZkTestBase{
private void setOverseerRole(CollectionAction action, String overseerDesignate) throws SolrServerException, IOException {
log.info("Adding overseer designate {} ", overseerDesignate);
Map m = makeMap(
"action", action.toString().toLowerCase(),
"action", action.toString().toLowerCase(Locale.ROOT),
"role", "overseer",
"node", overseerDesignate);
SolrParams params = new MapSolrParams(m);