make ReplicatedChronicleMap can extend

This commit is contained in:
yuhang.zhao
2016-06-17 18:41:17 +08:00
parent dc10b34ad5
commit 065d12494d
@@ -155,7 +155,7 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
lockTimeOutNS = builder.lockTimeOut(TimeUnit.NANOSECONDS);
boolean replicated = getClass() == ReplicatedChronicleMap.class;
boolean replicated = this instanceof ReplicatedChronicleMap;
this.chunkSize = builder.chunkSize(replicated);
this.alignment = builder.valueAlignment();
this.constantlySizedEntry = builder.constantlySizedEntries();