Fix RangeConstraintImpl 58/52058/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 20 Feb 2017 00:02:05 +0000 (01:02 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 20 Feb 2017 09:25:16 +0000 (10:25 +0100)
Malformed javadoc and a stray copy&paste reference.

Change-Id: I2879a861852df01d5cdab385342bc93256f8792d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/RangeConstraintImpl.java

index 75ff4793d0f3d0f50c6988158cd33c777bb74ac6..2b8d6321d539c85ea6c7385774c8536c9d6f946e 100644 (file)
@@ -14,14 +14,14 @@ import org.opendaylight.yangtools.concepts.Immutable;
 import org.opendaylight.yangtools.yang.model.api.type.RangeConstraint;
 
 /**
- * {@link Immutable} implementation of {@link LengthConstraint}.
+ * {@link Immutable} implementation of {@link RangeConstraint}.
  *
- * Range constraint based on supplied parameters with additional behaviour:
+ * Range constraint based on supplied parameters with additional behavior:
  *
  * <ul>
  * <li>{@link RangeConstraint#getErrorAppTag()} returns
  * <code>range-out-of-specified-bounds</code>
- * <li>{@link RangeConstraint#getErrorMessage() returns <code>The argument is
+ * <li>{@link RangeConstraint#getErrorMessage()} returns <code>The argument is
  * out of bounds &lt;<i>min</i>, <i>max</i> &gt;</code>
  * </ul>
  */
@@ -110,18 +110,7 @@ final class RangeConstraintImpl implements RangeConstraint, Immutable {
 
     @Override
     public String toString() {
-        return "RangeConstraintImpl [min=" +
-                min +
-                ", max=" +
-                max +
-                ", description=" +
-                description +
-                ", reference=" +
-                reference +
-                ", errorAppTag=" +
-                errorAppTag +
-                ", errorMessage=" +
-                errorMessage +
-                "]";
+        return "RangeConstraintImpl [min=" + min + ", max=" + max + ", description=" + description
+                + ", reference=" + reference + ", errorAppTag=" + errorAppTag + ", errorMessage=" + errorMessage + "]";
     }
-}
\ No newline at end of file
+}