Modified construction of built-in yang types.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-util / src / main / java / org / opendaylight / controller / yang / model / util / AbstractUnsignedInteger.java
index 013d80d79911c127ef4f3823a2fc996bf70c044f..6d5b5be8a0378dfa27fee06687e6174c860a1078 100644 (file)
@@ -36,25 +36,9 @@ public abstract class AbstractUnsignedInteger implements
     private final SchemaPath path;
     private final String description;
     private final String reference = "https://tools.ietf.org/html/rfc6020#section-9.2";
-
     private final String units;
     private final List<RangeConstraint> rangeStatements;
 
-    protected AbstractUnsignedInteger(final QName name,
-            final String description, final Number minRange,
-            final Number maxRange, final String units) {
-        this.name = name;
-        this.description = description;
-        this.path = BaseTypes.schemaPath(name);
-        this.units = units;
-        this.rangeStatements = new ArrayList<RangeConstraint>();
-        final String rangeDescription = "Integer values between " + minRange
-                + " and " + maxRange + ", inclusively.";
-        this.rangeStatements.add(BaseConstraints.rangeConstraint(minRange,
-                maxRange, rangeDescription,
-                "https://tools.ietf.org/html/rfc6020#section-9.2.4"));
-    }
-
     /**
      *
      * @param actualPath