From 49f805b69831fbcf9078e42e74ecf0f1752fe129 Mon Sep 17 00:00:00 2001
From: "Brian S. O'Neill" <bronee@gmail.com>
Date: Thu, 22 Mar 2007 21:21:26 +0000
Subject: Use consistent terminology in comments.

---
 .../java/com/amazon/carbonado/constraint/LengthConstraint.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src')

diff --git a/src/main/java/com/amazon/carbonado/constraint/LengthConstraint.java b/src/main/java/com/amazon/carbonado/constraint/LengthConstraint.java
index 1ffb4b5..48a5e67 100644
--- a/src/main/java/com/amazon/carbonado/constraint/LengthConstraint.java
+++ b/src/main/java/com/amazon/carbonado/constraint/LengthConstraint.java
@@ -25,7 +25,7 @@ import com.amazon.carbonado.MalformedTypeException;
 /**
  * Limits the value of a property to lie within a specific length range. The
  * property value may be a String, CharSequence, or any kind of array. If the
- * set property size is outside the range, an IllegalArgumentException is
+ * set property length is outside the range, an IllegalArgumentException is
  * thrown.
  *
  * <p>Example:<pre>
@@ -46,12 +46,12 @@ import com.amazon.carbonado.MalformedTypeException;
 @ConstraintDefinition
 public @interface LengthConstraint {
     /**
-     * Specify minimum allowed size for property. Default is zero.
+     * Specify minimum allowed length for property. Default is zero.
      */
     int min() default 0;
 
     /**
-     * Specify maximum allowed value for property. Default is unlimited.
+     * Specify maximum allowed length for property. Default is unlimited.
      */
     int max() default Integer.MAX_VALUE;
 
@@ -75,8 +75,8 @@ public @interface LengthConstraint {
         /**
          * @param type type of object that contains the constrained property
          * @param propertyName name of property with constraint
-         * @param min minimum allowed size
-         * @param max maximum allowed size
+         * @param min minimum allowed length
+         * @param max maximum allowed length
          */
         public Constraint(Class<?> type, String propertyName, int min, int max) {
             mPropertyName = propertyName;
-- 
cgit v1.2.3