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:
@@ -31,8 +31,8 @@ public class BooleanValuesTest {
|
||||
*/
|
||||
@Test
|
||||
public void testTestBooleanValues() throws IOException, InterruptedException {
|
||||
try (ChronicleMap<Integer, Boolean> map =
|
||||
ChronicleMapBuilder.of(Integer.class, Boolean.class).create()) {
|
||||
try (ChronicleMap<Integer, Boolean> map = ChronicleMap.of(Integer.class, Boolean.class)
|
||||
.entries(1).create()) {
|
||||
map.put(7, true);
|
||||
Assert.assertEquals(true, map.get(7));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user