From 6b54b1a712e35443cb57a51a5027df6e4046d8f1 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sat, 15 Sep 2012 20:47:25 +0000 Subject: [PATCH] Fix violation git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385173 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/update/UpdateLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java index 9c88dc87ac1..c066bd769e9 100644 --- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java +++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java @@ -68,7 +68,7 @@ public class UpdateLog implements PluginInfoInitialized { return SyncLevel.FLUSH; } try{ - return SyncLevel.valueOf(level.toUpperCase()); + return SyncLevel.valueOf(level.toUpperCase(Locale.ROOT)); } catch(Exception ex){ log.warn("There was an error reading the SyncLevel - default to " + SyncLevel.FLUSH, ex); return SyncLevel.FLUSH;