Make DecimalTypeDefinition.getFractionDigits() return int
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / DecimalTypeDefinition.java
index a00a53257f23d2a5ec52f3ed40e9288fab6df228..31b768888ce042905924ff57c27c42b128430ceb 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.yangtools.yang.model.api.type;
 
-import javax.annotation.Nonnull;
-
 /**
  * Contains methods for getting data from the YANG <code>type</code> substatement for <code>decimal64</code> built-in
  * type.
@@ -25,5 +23,5 @@ public interface DecimalTypeDefinition extends RangeRestrictedTypeDefinition<Dec
      *
      * @return number of fraction digits
      */
-    @Nonnull Integer getFractionDigits();
+    int getFractionDigits();
 }