SOLR-13252: Fix an NPE when setting a "policy" property for an existing collection.

This commit is contained in:
Andrzej Bialecki 2019-02-14 21:37:10 +01:00
parent e63ac04de6
commit b4b9c39392
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ public class OverseerCollectionMessageHandler implements OverseerMessageHandler,
if (!updateKey.equals(ZkStateReader.COLLECTION_PROP)
&& !updateKey.equals(Overseer.QUEUE_OPERATION)
&& updateEntry.getValue() != null // handled below in a separate conditional
&& !collection.get(updateKey).equals(updateEntry.getValue())){
&& !updateEntry.getValue().equals(collection.get(updateKey))) {
areChangesVisible = false;
break;
}