mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fix of the prev commit
This commit is contained in:
@@ -172,7 +172,7 @@ public final class ReplicationHub extends AbstractReplication {
|
||||
@NotNull
|
||||
@Override
|
||||
public ReplicationHub createWithId(byte identifier) {
|
||||
check();
|
||||
check(identifier);
|
||||
return new ReplicationHub(identifier, this);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ public final class SingleChronicleHashReplication extends AbstractReplication {
|
||||
@NotNull
|
||||
@Override
|
||||
public SingleChronicleHashReplication createWithId(byte identifier) {
|
||||
check();
|
||||
check(identifier);
|
||||
return new SingleChronicleHashReplication(identifier, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user