removed -> if (localIdentifier == -1)

throw new IllegalStateException("localIdentifier should not be -1");
This commit is contained in:
Rob Austin
2018-09-06 22:05:51 +01:00
parent 914f27b588
commit 43a17b5606
@@ -181,8 +181,6 @@ public class ReplicatedChronicleMap<K, V, R> extends VanillaChronicleMap<K, V, R
void initTransientsFromBuilder(ChronicleMapBuilder<K, V> builder) {
super.initTransientsFromBuilder(builder);
this.localIdentifier = builder.replicationIdentifier;
if (localIdentifier == -1)
throw new IllegalStateException("localIdentifier should not be -1");
//noinspection unchecked
this.remoteOperations = (MapRemoteOperations<K, V, R>) builder.remoteOperations;
cleanupRemovedEntries = builder.cleanupRemovedEntries;