From 43a17b56062a81ad695f1a5e6a8744a216adbc83 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Thu, 6 Sep 2018 22:05:51 +0100 Subject: [PATCH] removed -> if (localIdentifier == -1) throw new IllegalStateException("localIdentifier should not be -1"); --- .../java/net/openhft/chronicle/map/ReplicatedChronicleMap.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java b/src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java index 79952ccf3..8d40b9aca 100644 --- a/src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java @@ -181,8 +181,6 @@ public class ReplicatedChronicleMap extends VanillaChronicleMap builder) { super.initTransientsFromBuilder(builder); this.localIdentifier = builder.replicationIdentifier; - if (localIdentifier == -1) - throw new IllegalStateException("localIdentifier should not be -1"); //noinspection unchecked this.remoteOperations = (MapRemoteOperations) builder.remoteOperations; cleanupRemovedEntries = builder.cleanupRemovedEntries;