BUG-7464: Split TrieMap into read-only and read-write
[yangtools.git] / third-party / triemap / src / test / java / org / opendaylight / yangtools / triemap / TestHashCollisionsRemoveIterator.java
index a58d3ba350c684ae81340d7f6ae85a7a3c167dfd..2b5f5f21d28f0e3ccda516c92290ea9028bd7935 100644 (file)
@@ -30,7 +30,7 @@ public class TestHashCollisionsRemoveIterator {
 
     @Test
     public void testHashCollisionsRemoveIterator () {
-        final Map<Object, Object> bt = new TrieMap<>();
+        final Map<Object, Object> bt = TrieMap.create();
         for (int j = 0; j < COUNT; j++) {
             bt.put(Integer.valueOf(j), Integer.valueOf(j));
         }