Migrate YangInstanceIdentifier.EMPTY users
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / restconf / impl / ControllerContext.java
index 5908624515f80a1a0b66695fda555236c6e78c0f..b36b0c5c1bd9af084e84097041f5f992f2328f1b 100644 (file)
@@ -171,7 +171,7 @@ public final class ControllerContext implements SchemaContextListener, Closeable
         checkPreconditions();
 
         if (restconfInstance == null) {
-            return new InstanceIdentifierContext<>(YangInstanceIdentifier.EMPTY, this.globalSchema, null,
+            return new InstanceIdentifierContext<>(YangInstanceIdentifier.empty(), this.globalSchema, null,
                     this.globalSchema);
         }