mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps
This commit is contained in:
@@ -44,9 +44,8 @@ public class BuildVersionTest {
|
||||
@Test
|
||||
public void testVersion() throws IOException, InterruptedException {
|
||||
|
||||
try (ChronicleMap<Integer, Double> expected = ChronicleMapBuilder.of(Integer.class, Double
|
||||
.class)
|
||||
.create()) {
|
||||
try (ChronicleMap<Integer, Double> expected = ChronicleMap.of(Integer.class, Double.class)
|
||||
.entries(1).create()) {
|
||||
expected.put(1, 1.0);
|
||||
|
||||
String version = ((VanillaChronicleMap) expected).persistedDataVersion();
|
||||
|
||||
Reference in New Issue
Block a user