Cleanup checkstyle in yang-{data,model}-api
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / DecimalTypeDefinition.java
index e3ace5d6e10506df73c8bf5c67039dbc433c09a3..d0566d48cf240a5fbe3ebdbd0223c73711653f6f 100644 (file)
@@ -8,35 +8,33 @@
 package org.opendaylight.yangtools.yang.model.api.type;
 
 import java.util.List;
-
+import javax.annotation.Nonnull;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
  * Contains methods for getting data from the YANG <code>type</code>
  * substatement for <code>decimal64</code> built-in type.
- * 
  */
 public interface DecimalTypeDefinition extends TypeDefinition<DecimalTypeDefinition> {
-
     /**
      * Returns range constraints for instance of this type.
-     * 
+     *
      * @return list of range constraints which are specified as the argument of
      *         the <code>range</code> which is substatement of the
      *         <code>type</code> statement
      */
-    List<RangeConstraint> getRangeStatements();
+    @Nonnull List<RangeConstraint> getRangeConstraints();
 
     /**
-     * Returns integer between 1 and 18 inclusively. <br>
-     * <br>
-     * 
+     * Returns integer between 1 and 18 inclusively.
+     *
+     * <p>
      * The "fraction-digits" statement controls the size of the minimum
      * difference between values of a decimal64 type, by restricting the value
      * space to numbers that are expressible as "i x 10^-n" where n is the
      * fraction-digits argument.
-     * 
+     *
      * @return number of fraction digits
      */
-    Integer getFractionDigits();
+    @Nonnull Integer getFractionDigits();
 }