Fix raw types 70/46370/2
authorRobert Varga <rovarga@cisco.com>
Tue, 20 Sep 2016 12:58:36 +0000 (14:58 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 3 Oct 2016 13:49:39 +0000 (13:49 +0000)
Fix eclipse warnings from raw types.

Change-Id: Iae0d43883cbcf8b084f2c7469796b9a7d80ba32f
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit f6af6b03353f111cce3c8875aaf76e203199de57)

dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/ShardedDOMReadTransactionAdapter.java
dom/mdsal-dom-inmemory-datastore/src/test/java/org/opendaylight/mdsal/dom/store/inmemory/TestUtils.java

index e04a0828ef28cd61a4548d7e3dab2a5140e6b3c1..b3dcd3b629224cf90e82bd0aa5c2173d559418ce 100644 (file)
@@ -139,7 +139,7 @@ public class ShardedDOMReadTransactionAdapter implements DOMDataTreeReadTransact
                 }
             }
 
-            for (final NormalizedNode initialState : subtrees.values()) {
+            for (final NormalizedNode<?, ?> initialState : subtrees.values()) {
                 readResultFuture.set(Optional.of(initialState));
             }
         }
index a3a821e072e8f1418998de289a4c1ca54fd61785..7f05d7acb7561515bcae2c9fb0fe09e2959ced81 100644 (file)
@@ -34,7 +34,7 @@ final class TestUtils {
 
     static final NodeIdentifier NODE_IDENTIFIER = NodeIdentifier.create(QName.create("test"));
 
-    static final NormalizedNode NORMALIZED_NODE = mock(NormalizedNode.class);
+    static final NormalizedNode<?, ?> NORMALIZED_NODE = mock(NormalizedNode.class);
 
     static final NormalizedNodeContainer NORMALIZED_NODE_CONTAINER = mock(NormalizedNodeContainer.class);
 
@@ -43,7 +43,7 @@ final class TestUtils {
 
     static final Collection<DOMStoreThreePhaseCommitCohort> COHORTS = new HashSet<>();
 
-    static final ListenableFuture LISTENABLE_FUTURE = mock(ListenableFuture.class);
+    static final ListenableFuture<?> LISTENABLE_FUTURE = mock(ListenableFuture.class);
 
     static final WriteableModificationNode WRITEABLE_MODIFICATION_NODE = mock(WriteableModificationNode.class);