Remove explicit default super-constructor calls
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / type / LengthConstraintEffectiveImpl.java
index a6ed4701afac047fd650ae9c031882c3f6d9cda5..b06bdede01667eade37bb5a616a40b776f81806f 100644 (file)
@@ -25,13 +25,12 @@ public class LengthConstraintEffectiveImpl implements LengthConstraint {
 
     public LengthConstraintEffectiveImpl(final Number min, final Number max, final Optional<String> description,
             final Optional<String> reference) {
-        this(min, max, description.orNull(), reference.orNull(), "length-out-of-specified-bounds", "The argument is out of bounds <"
-                + min + ", " + max + ">");
+        this(min, max, description.orNull(), reference.orNull(), "length-out-of-specified-bounds",
+            "The argument is out of bounds <" + min + ", " + max + ">");
     }
 
     public LengthConstraintEffectiveImpl(final Number min, final Number max, final String description,
             final String reference, final String errorAppTag, final String errorMessage) {
-        super();
         this.min = Preconditions.checkNotNull(min, "min must not be null.");
         this.max = Preconditions.checkNotNull(max, "max must not be null");
         this.description = description;
@@ -119,19 +118,13 @@ public class LengthConstraintEffectiveImpl implements LengthConstraint {
 
     @Override
     public String toString() {
-        return LengthConstraintEffectiveImpl.class.getSimpleName() +
-                " [min=" +
-                min +
-                ", max=" +
-                max +
-                ", description=" +
-                description +
-                ", errorAppTag=" +
-                errorAppTag +
-                ", reference=" +
-                reference +
-                ", errorMessage=" +
-                errorMessage +
-                "]";
+        return LengthConstraintEffectiveImpl.class.getSimpleName()
+                + " [min=" + min
+                + ", max=" + max
+                + ", description=" + description
+                + ", errorAppTag=" + errorAppTag
+                + ", reference=" + reference
+                + ", errorMessage=" + errorMessage
+                + "]";
     }
 }