BUG-7464: Split TrieMap into read-only and read-write
[yangtools.git] / third-party / triemap / src / test / java / org / opendaylight / yangtools / triemap / TestHashCollisionsRemove.java
index 64abfe44aba47f4ec04125810353536c8ceb6246..74ae1f9b799d0654fb0c9725dc9d64b82f6d3d32 100644 (file)
@@ -26,7 +26,7 @@ public class TestHashCollisionsRemove {
 
     @Test
     public void  testHashCollisionsRemove() {
-        final Map<Object, Object> bt = new TrieMap<>();
+        final Map<Object, Object> bt = TrieMap.create();
 
         for (int j = 0; j < COUNT; j++) {
             for (final Object o : TestMultiThreadMapIterator.getObjects(j)) {