Merge "BUG-1070: split off YangSourceContext"
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / BinaryType.java
index 17afbb57198e456fbdfee3e8789513dbb81844c4..cda865d1a2fb3d7dade645513766d191793cdca9 100644 (file)
@@ -30,7 +30,7 @@ public final class BinaryType implements BinaryTypeDefinition {
     private static final BinaryType INSTANCE = new BinaryType();
 
     private final QName name = BaseTypes.BINARY_QNAME;
-    private final SchemaPath path = new SchemaPath(Collections.singletonList(name), true);
+    private final SchemaPath path = SchemaPath.create(Collections.singletonList(name), true);
     private final List<Byte> bytes = Collections.emptyList();
     private final List<LengthConstraint> lengthConstraints;