# | Line 34 | Line 34 | public class ConcurrentHashMapTest exten | |
---|---|---|
34 | * Returns a new map from Integers 1-5 to Strings "A"-"E". | |
35 | */ | |
36 | private static ConcurrentHashMap<Integer, String> map5() { | |
37 | < | ConcurrentHashMap map = new ConcurrentHashMap<Integer, String>(5); |
37 | > | ConcurrentHashMap<Integer, String> map = new ConcurrentHashMap<>(5); |
38 | assertTrue(map.isEmpty()); | |
39 | map.put(one, "A"); | |
40 | map.put(two, "B"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |