Fix a non-generic reference to DataContainerNode 31/12631/2
authorRobert Varga <rovarga@cisco.com>
Fri, 7 Nov 2014 17:39:30 +0000 (18:39 +0100)
committerRobert Varga <rovarga@cisco.com>
Sat, 8 Nov 2014 11:20:39 +0000 (12:20 +0100)
Just add a wildcards, as it's only used in a cast.

Change-Id: I0be921b5e63dcc3d0fa005a54c8a55dcfbffa866
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/NormalizedNodeNavigator.java

index 0c91ff1..f8019c9 100644 (file)
@@ -81,7 +81,7 @@ public class NormalizedNodeNavigator {
   private void navigateNormalizedNode(int level, String parentPath, NormalizedNode<?,?> normalizedNode){
     if(normalizedNode instanceof DataContainerNode){
 
-      final DataContainerNode<?> dataContainerNode = (DataContainerNode) normalizedNode;
+      final DataContainerNode<?> dataContainerNode = (DataContainerNode<?>) normalizedNode;
 
       navigateDataContainerNode(level + 1, parentPath, dataContainerNode);
     } else {