Do not use NodeIdentifierWithPredicates constructors
[controller.git] / opendaylight / md-sal / sal-inmemory-datastore / src / test / java / org / opendaylight / controller / md / sal / dom / store / impl / AbstractDataTreeChangeListenerTest.java
index fe845d7c66e16f9437a8da79ed2de0ae7985646e..58db9d7dc30afc37ed7bfe86cd93629bf3ca10b1 100644 (file)
@@ -87,13 +87,13 @@ public abstract class AbstractDataTreeChangeListenerTest {
     public static final YangInstanceIdentifier path(final String topName,
             final String nestedName) {
         return path(topName).node(NestedList.QNAME).node(
-                new NodeIdentifierWithPredicates(NestedList.QNAME, NAME_QNAME,
+                NodeIdentifierWithPredicates.of(NestedList.QNAME, NAME_QNAME,
                         nestedName));
     }
 
     public static final YangInstanceIdentifier path(final String topName) {
         return TOP_LEVEL.node(TopLevelList.QNAME).node(
-                new NodeIdentifierWithPredicates(TopLevelList.QNAME,
+                NodeIdentifierWithPredicates.of(TopLevelList.QNAME,
                         NAME_QNAME, topName));
     }