BUG-1956: bump java-concurrent-hash-trie-map version 0.2.23 56/11356/1
authorRobert Varga <rovarga@cisco.com>
Fri, 19 Sep 2014 07:46:39 +0000 (09:46 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 19 Sep 2014 07:49:16 +0000 (09:49 +0200)
Bump the version again, this time accounting for the late API change.

Change-Id: I95e947adcef587069ea3579da98b3f5d217a6e58
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/pom.xml
common/util/src/main/java/org/opendaylight/yangtools/util/MapAdaptor.java

index f3502891baa6b585d5460ef3f2300ed2d65d88f8..0255fe4be72c3563d091213a98b9768788fdfe3a 100644 (file)
@@ -39,6 +39,7 @@
         <dependency>
             <groupId>com.github.romix</groupId>
             <artifactId>java-concurrent-hash-trie-map</artifactId>
+            <version>0.2.23</version>
         </dependency>
 
         <dependency>
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);