Modernize YangInstanceIdentifier
[yangtools.git] / data / yang-data-tree-api / src / main / java / org / opendaylight / yangtools / yang / data / tree / api / DataTreeConfiguration.java
index 7b02ad706f61b60927ecdba42401650d4778797b..6d43e207dc891938b79604441ee3846f9a6ec1df 100644 (file)
@@ -108,7 +108,7 @@ public class DataTreeConfiguration implements Immutable {
 
         public Builder(final TreeType treeType) {
             this.treeType = requireNonNull(treeType);
-            rootPath = YangInstanceIdentifier.empty();
+            rootPath = YangInstanceIdentifier.of();
         }
 
         public @NonNull Builder setUniqueIndexes(final boolean uniqueIndexes) {