Bump to odlparent-9.0.0/yangtools-7.0.1-SNAPSHOT
[mdsal.git] / dom / mdsal-dom-api / src / test / java / org / opendaylight / mdsal / dom / api / DOMDataTreeIdentifierTest.java
index 7309c17a587ddc10387cf2e279f1e47ce462f418..61513752e1e0bf8c6501b46dabe0eebcc9d56298 100644 (file)
@@ -13,11 +13,11 @@ import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import java.net.URI;
 import org.junit.Test;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.common.QNameModule;
+import org.opendaylight.yangtools.yang.common.XMLNamespace;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
 public class DOMDataTreeIdentifierTest {
@@ -25,7 +25,7 @@ public class DOMDataTreeIdentifierTest {
     private static final String TEST_LISTS = "test-lists";
     private static final String COMPARE_FIRST_LISTS = "A-test-lists";
     private static final String COMPARE_SECOND_LISTS = "B-test-lists";
-    private static final QNameModule TEST_MODULE = QNameModule.create(URI.create(
+    private static final QNameModule TEST_MODULE = QNameModule.create(XMLNamespace.of(
             "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:store"));
     private static final YangInstanceIdentifier REF_YII_IID = YangInstanceIdentifier.create(
             new YangInstanceIdentifier.NodeIdentifier(QName.create(TEST_MODULE, REF_LISTS)));