diff --git a/commons/solr/managed/src/main/java/org/apache/stanbol/commons/solr/managed/IndexMetadata.java b/commons/solr/managed/src/main/java/org/apache/stanbol/commons/solr/managed/IndexMetadata.java index 443fca8d1..ef5343120 100644 --- a/commons/solr/managed/src/main/java/org/apache/stanbol/commons/solr/managed/IndexMetadata.java +++ b/commons/solr/managed/src/main/java/org/apache/stanbol/commons/solr/managed/IndexMetadata.java @@ -174,7 +174,7 @@ public void setIndexArchives(List archives){ } public boolean isSynchronized(){ String value = getProperty(SYNCHRONIZED); - return value == null ? false : Boolean.parseBoolean(value); + return Boolean.parseBoolean(value); } public void setSynchronized(boolean state){ setProperty(SYNCHRONIZED, Boolean.toString(state));