Use Uint constants in base types
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / type / BaseUint64Type.java
index 2b6043f5ef80b0fa00f2c9f29ddda5ea60dd8cbe..02ea1f8d9d79317bf686c2f99ef224eef51cb9c9 100644 (file)
@@ -17,7 +17,7 @@ final class BaseUint64Type extends AbstractRangeRestrictedBaseType<Uint64TypeDef
     static final @NonNull BaseUint64Type INSTANCE = new BaseUint64Type();
 
     private BaseUint64Type() {
-        super(BaseTypes.UINT64_QNAME, Uint64.valueOf(0), Uint64.valueOf("18446744073709551615"));
+        super(BaseTypes.UINT64_QNAME, Uint64.ZERO, Uint64.MAX_VALUE);
     }
 
     @Override