mirror of https://github.com/apache/lucene.git
Fix violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
95fea9de64
commit
6b54b1a712
|
@ -68,7 +68,7 @@ public class UpdateLog implements PluginInfoInitialized {
|
||||||
return SyncLevel.FLUSH;
|
return SyncLevel.FLUSH;
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
return SyncLevel.valueOf(level.toUpperCase());
|
return SyncLevel.valueOf(level.toUpperCase(Locale.ROOT));
|
||||||
} catch(Exception ex){
|
} catch(Exception ex){
|
||||||
log.warn("There was an error reading the SyncLevel - default to " + SyncLevel.FLUSH, ex);
|
log.warn("There was an error reading the SyncLevel - default to " + SyncLevel.FLUSH, ex);
|
||||||
return SyncLevel.FLUSH;
|
return SyncLevel.FLUSH;
|
||||||
|
|
Loading…
Reference in New Issue