Fix Eclipse compilation warnings. 25/28025/2
authorGary Wu <Gary.Wu1@huawei.com>
Wed, 7 Oct 2015 18:11:01 +0000 (11:11 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 8 Oct 2015 20:18:29 +0000 (20:18 +0000)
Change-Id: I16921743a8cc4ac8902c1b7fffa2edfd8cba8be6
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/NormalizedNodePrunerTest.java

index 94690cc..cb82adc 100644 (file)
@@ -81,7 +81,7 @@ public class NormalizedNodePrunerTest {
 
         normalizedNodeWriter.write(expected);
 
-        NormalizedNode actual = pruner.normalizedNode();
+        NormalizedNode<?, ?> actual = pruner.normalizedNode();
 
         assertEquals(expected, actual);
 
@@ -97,7 +97,7 @@ public class NormalizedNodePrunerTest {
 
         normalizedNodeWriter.write(expected);
 
-        NormalizedNode actual = pruner.normalizedNode();
+        NormalizedNode<?, ?> actual = pruner.normalizedNode();
 
         assertEquals(expected, actual);
 
@@ -116,7 +116,7 @@ public class NormalizedNodePrunerTest {
 
         normalizedNodeWriter.write(expected);
 
-        NormalizedNode actual = pruner.normalizedNode();
+        NormalizedNode<?, ?> actual = pruner.normalizedNode();
 
         Assert.assertNotEquals(expected, actual);
 
@@ -137,7 +137,7 @@ public class NormalizedNodePrunerTest {
 
         normalizedNodeWriter.write(expected);
 
-        NormalizedNode actual = pruner.normalizedNode();
+        NormalizedNode<?, ?> actual = pruner.normalizedNode();
 
         // Since top level schema is missing null is returned
         assertNull(actual);
@@ -183,7 +183,7 @@ public class NormalizedNodePrunerTest {
 
         verify(normalizedNodeContainerBuilder).addChild(captor.capture());
 
-        NormalizedNode value = captor.getValue();
+        NormalizedNode<?, ?> value = captor.getValue();
         assertEquals(normalizedNodeBuilderWrapper.identifier().getNodeType(), value.getNodeType());
         assertEquals(normalizedNodeBuilderWrapper.identifier(), value.getIdentifier());
         assertEquals(o, value.getValue());
@@ -214,7 +214,7 @@ public class NormalizedNodePrunerTest {
 
         verify(normalizedNodeContainerBuilder).addChild(captor.capture());
 
-        NormalizedNode value = captor.getValue();
+        NormalizedNode<?, ?> value = captor.getValue();
         assertEquals(nodeIdentifier.getNodeType(), value.getNodeType());
         assertEquals(nodeIdentifier, value.getIdentifier());
         assertEquals(o, value.getValue());
@@ -247,7 +247,7 @@ public class NormalizedNodePrunerTest {
 
         verify(normalizedNodeContainerBuilder).addChild(captor.capture());
 
-        NormalizedNode value = captor.getValue();
+        NormalizedNode<?, ?> value = captor.getValue();
         assertEquals(nodeIdentifier.getNodeType(), value.getNodeType());
         assertEquals(nodeIdentifier, value.getIdentifier());
         assertEquals(o, value.getValue());

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.