Rework NormalizedNode type hierarchy
[yangtools.git] / yang / yang-data-codec-binfmt / src / main / java / org / opendaylight / yangtools / yang / data / codec / binfmt / NormalizedNodeDataOutput.java
index c2db375b044b91c3522d51db814d70ce4203f29e..30fc0244006f0b199f7532991e20e81b8aa23c04 100644 (file)
@@ -28,7 +28,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier;
 public interface NormalizedNodeDataOutput extends AutoCloseable, DataOutput {
     void writeQName(QName qname) throws IOException;
 
-    void writeNormalizedNode(NormalizedNode<?, ?> normalizedNode) throws IOException;
+    void writeNormalizedNode(NormalizedNode normalizedNode) throws IOException;
 
     void writePathArgument(PathArgument pathArgument) throws IOException;
 
@@ -42,7 +42,7 @@ public interface NormalizedNodeDataOutput extends AutoCloseable, DataOutput {
     @Override
     void close() throws IOException;
 
-    default void writeOptionalNormalizedNode(final @Nullable NormalizedNode<?, ?> normalizedNode) throws IOException {
+    default void writeOptionalNormalizedNode(final @Nullable NormalizedNode normalizedNode) throws IOException {
         if (normalizedNode != null) {
             writeBoolean(true);
             writeNormalizedNode(normalizedNode);