# | Line 287 | Line 287 | public class ConcurrentHashMapTest exten | |
---|---|---|
287 | assertEquals("A", (String)map.get(one)); | |
288 | ConcurrentHashMap empty = new ConcurrentHashMap(); | |
289 | assertNull(map.get("anything")); | |
290 | + | assertNull(empty.get("anything")); |
291 | } | |
292 | ||
293 | /** | |
# | Line 589 | Line 590 | public class ConcurrentHashMapTest exten | |
590 | assertFalse(map2.equals(map1)); | |
591 | } | |
592 | ||
592 | – | |
593 | /** | |
594 | * get(null) throws NPE | |
595 | */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |