Bump odlparent/yangtools/mdsal
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / transformer / AbstractNormalizedNodePruner.java
index 8999034504c0115ee41e2c5f43d3d3347bcff7d9..13500c17c0fe964d75870c1c2783a6f6af91f67e 100644 (file)
@@ -64,7 +64,7 @@ abstract class AbstractNormalizedNodePruner implements NormalizedNodeStreamWrite
     private final DataSchemaContextTree tree;
 
     private DataSchemaContextNode<?> nodePathSchemaNode;
-    private NormalizedNode<?, ?> normalizedNode;
+    private NormalizedNode normalizedNode;
     private State state = State.UNITIALIZED;
     private int unknown;
 
@@ -114,12 +114,6 @@ abstract class AbstractNormalizedNodePruner implements NormalizedNodeStreamWrite
         enter(ReusableImmutableNormalizedNodeStreamWriter::startContainerNode, name, childSizeHint);
     }
 
-    @Override
-    public final void startYangModeledAnyXmlNode(final NodeIdentifier nodeIdentifier, final int count) {
-        // FIXME: implement this
-        throw new UnsupportedOperationException("Not implemented yet");
-    }
-
     @Override
     public final void startUnkeyedList(final NodeIdentifier name, final int childSizeHint) throws IOException {
         enter(ReusableImmutableNormalizedNodeStreamWriter::startUnkeyedList, name, childSizeHint);
@@ -235,7 +229,7 @@ abstract class AbstractNormalizedNodePruner implements NormalizedNodeStreamWrite
      * @return Resulting node for the path, if it was not pruned
      * @throws IllegalStateException if this pruner has not been closed
      */
-    public final Optional<NormalizedNode<?, ?>> getResult() {
+    public final Optional<NormalizedNode> getResult() {
         checkState(state == State.CLOSED, "Cannot get result in state %s", state);
         return Optional.ofNullable(normalizedNode);
     }