Fix of the prev commit

This commit is contained in:
leventov
2014-11-10 15:57:47 +03:00
parent 7667fac98a
commit 878a19479e
2 changed files with 2 additions and 2 deletions
@@ -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);
}
}
@@ -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);
}
}