diff --git a/pom.xml b/pom.xml index 5dd7d9ce4..fd32e0e35 100755 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ net.openhft lang - 6.4.9 + 6.4.10-SNAPSHOT diff --git a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java index 8718a0d38..23f166078 100644 --- a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java @@ -85,7 +85,6 @@ class VanillaChronicleMap, // rather than as returning the Object can be expensive for something you probably don't use. final boolean putReturnsNull; final boolean removeReturnsNull; - private final ObjectSerializer objectSerializer; private final long lockTimeOutNS; private final MapErrorListener errorListener; @@ -130,7 +129,6 @@ class VanillaChronicleMap, this.errorListener = builder.errorListener(); this.putReturnsNull = builder.putReturnsNull(); this.removeReturnsNull = builder.removeReturnsNull(); - this.objectSerializer = builder.objectSerializer(); this.actualSegments = builder.actualSegments(); this.entriesPerSegment = builder.actualEntriesPerSegment(); diff --git a/src/test/java/net/openhft/chronicle/map/TestBooleanValues.java b/src/test/java/net/openhft/chronicle/map/TestBooleanValues.java index 7306e153f..2dc3fb34e 100644 --- a/src/test/java/net/openhft/chronicle/map/TestBooleanValues.java +++ b/src/test/java/net/openhft/chronicle/map/TestBooleanValues.java @@ -1,6 +1,6 @@ package net.openhft.chronicle.map; -import org.junit.Ignore; +import org.junit.Assert; import org.junit.Test; import java.io.IOException; @@ -19,7 +19,7 @@ public class TestBooleanValues { ChronicleMap map = ChronicleMapBuilder.of(Integer.class, Boolean.class).create(); map.put(7, true); - Boolean currentValue = map.get(7); // IllegalStateException here + Assert.assertEquals(true, map.get(7)); } }