Rework NormalizedNode type hierarchy
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / DataTreeSnapshot.java
index 3197e9814ba42582f06d91735618ed5611284886..a471d777b570619ad24675bf69b79c5020406cc9 100644 (file)
@@ -24,7 +24,7 @@ public interface DataTreeSnapshot extends EffectiveModelContextProvider {
      * @param path Path of the node
      * @return Optional result encapsulating the presence and value of the node
      */
-    Optional<NormalizedNode<?, ?>> readNode(YangInstanceIdentifier path);
+    Optional<NormalizedNode> readNode(YangInstanceIdentifier path);
 
     /**
      * Create a new data tree modification based on this snapshot, using the