HCOLL-204 fail with sensible message, if value of interface which is supposed to have byteable impl is attempted to be used with ChronicleMapBuilder (but not OffHeapUpdatableChronicleMapBuilder)

This commit is contained in:
leventov
2014-11-13 13:28:13 +03:00
parent f912262b2b
commit 8cca97f573
2 changed files with 1 additions and 5 deletions
@@ -136,7 +136,7 @@ public abstract class AbstractChronicleMapBuilder<K, V,
private MapEventListener<K, V, ChronicleMap<K, V>> eventListener =
MapEventListeners.nop();
private V defaultValue = null;
private DefaultValueProvider<K, V> defaultValueProvider = NullValueProvider.INSTANCE;
private DefaultValueProvider<K, V> defaultValueProvider = null;
private PrepareValueBytes<K, V> prepareValueBytes = null;
private SingleChronicleHashReplication singleHashReplication = null;