Rework NormalizedNode type hierarchy
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / DataTreeModification.java
index 685755bec127db449341aa24e08762fe3e5a108b..586648cb77eb574e88494883275a1e9d31e64461 100644 (file)
@@ -31,7 +31,7 @@ public interface DataTreeModification extends DataTreeSnapshot {
      * @param path Node path
      * @param data Data to be merged
      */
-    void merge(YangInstanceIdentifier path, NormalizedNode<?, ?> data);
+    void merge(YangInstanceIdentifier path, NormalizedNode data);
 
     /**
      * Replace the data at specified path with supplied data.
@@ -39,7 +39,7 @@ public interface DataTreeModification extends DataTreeSnapshot {
      * @param path Node path
      * @param data New node data
      */
-    void write(YangInstanceIdentifier path, NormalizedNode<?, ?> data);
+    void write(YangInstanceIdentifier path, NormalizedNode data);
 
     /**
      * Finish creation of a modification, making it ready for application