/**
* {@link Immutable} implementation of {@link LengthConstraint}.
- *
* Length constraint based on supplied parameters with additional behaviour:
*
* <ul>
* <code>length-out-of-specified-bounds</code>
* <li>{@link LengthConstraint#getErrorMessage()} returns <code>The argument is
* out of bounds <<i>min</i>, <i>max</i> ></code>
- * </ul
+ * </ul>
*/
final class LengthConstraintImpl implements LengthConstraint, Immutable {
@Override
public String toString() {
- return "LengthConstraintImpl [min=" +
- min +
- ", max=" +
- max +
- ", description=" +
- description +
- ", errorAppTag=" +
- errorAppTag +
- ", reference=" +
- reference +
- ", errorMessage=" +
- errorMessage +
- "]";
+ return "LengthConstraintImpl [min=" + min
+ + ", max=" + max
+ + ", description=" + description
+ + ", errorAppTag=" + errorAppTag
+ + ", reference=" + reference
+ + ", errorMessage=" + errorMessage
+ + "]";
}
-}
\ No newline at end of file
+}