BUG-7464: Split TrieMap into read-only and read-write
[yangtools.git] / third-party / triemap / src / test / java / org / opendaylight / yangtools / triemap / TestMultiThreadMapIterator.java
index 6bc635779ec2333ed83f6d6687af9e9aea7f7933..e7f91fed545a7af9cb7ddcc6e370c1de68fda84c 100644 (file)
@@ -34,7 +34,7 @@ public class TestMultiThreadMapIterator {
 
     @Test
     public void testMultiThreadMapIterator () throws InterruptedException {
-        final Map<Object, Object> bt = new TrieMap<>();
+        final Map<Object, Object> bt = TrieMap.create();
         for (int j = 0; j < 50 * 1000; j++) {
             for (final Object o : getObjects(j)) {
                 bt.put (o, o);