Kill trailing whitespace
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / StringTypeDefinition.java
index b8fcb0b4e4b330274236dde93322f3602c7d09a8..958e796e517912f32bb75342d6d0d5d0c273ba60 100644 (file)
@@ -8,28 +8,28 @@
 package org.opendaylight.yangtools.yang.model.api.type;
 
 import java.util.List;
-
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
+ *
  * Contains method for getting data from the <code>string</code> YANG built-in
  * type.
  */
 public interface StringTypeDefinition extends TypeDefinition<StringTypeDefinition> {
 
     /**
-     * Returns length constraint specified in the string.
-     * 
+     * Returns length constraint specified in the string. These are the effective constraints, e.g. they include
+     * any length constraints implied by base types.
+     *
      * @return list of length constraint which are specified in the
-     *         <code>lenght</code> substatement of the <code>type</code>
+     *         <code>length</code> substatement of the <code>type</code>
      *         statement
      */
     List<LengthConstraint> getLengthConstraints();
 
     /**
      * Returns patterns specified in the string.
-     * 
+     *
      * @return list of pattern constraints which are specified in the
      *         <code>pattern</code> substatement of the <code>type</code>
      *         statement