BUG-1956: bump java-concurrent-hash-trie-map version 0.2.23
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / MapAdaptor.java
index ebbf488bce89ee0de6c0f133cdcd17d7d4007909..bea7630330c3a0ae89af54d141931ebd9868b8f6 100644 (file)
@@ -170,7 +170,7 @@ public final class MapAdaptor {
          * which will maintain the size for us.
          */
         LOG.trace("Copying input {} to a TrieMap ({} entries)", input, size);
-        final TrieMap<K, V> map = TrieMap.empty();
+        final TrieMap<K, V> map = new TrieMap<>();
         map.putAll(input);
         final Map<K, V> ret = new ReadOnlyTrieMap<>(map, size);
         LOG.trace("Read-only TrieMap is {}", ret);