BUG-7464: Split TrieMap into read-only and read-write
[yangtools.git] / third-party / triemap / src / test / java / org / opendaylight / yangtools / triemap / TestMultiThreadInserts.java
index b80a94921f7981f7d50ceeeef80ca13ded4ba6ca..019240f69dacecea21f635f054b97e9a42a62c57 100644 (file)
@@ -27,7 +27,7 @@ public class TestMultiThreadInserts {
     public void testMultiThreadInserts () throws InterruptedException{
         final int nThreads = 2;
         final ExecutorService es = Executors.newFixedThreadPool(nThreads);
-        final TrieMap<Object, Object> bt = new TrieMap<>();
+        final TrieMap<Object, Object> bt = TrieMap.create();
         for (int i = 0; i < nThreads; i++) {
             final int threadNo = i;
             es.execute (() -> {