Cleanup checkstyle in yang-{data,model}-api
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / ModifierKind.java
index f83f46b489bf5582b0c93381f711a10139e1d98a..435b400c2fdb7d28692c944b3f091af5a05e8a2c 100644 (file)
@@ -18,6 +18,7 @@ import javax.annotation.Nonnull;
 /**
  * Enum describing the effect of a YANG modifier statement.
  *
+ * <p>
  * As of YANG 1.1 (RFC7950) there is only one modifier value available and that
  * is "invert-match". If there are more possible values added in the future,
  * this enum can be extended with more enum constants.
@@ -30,23 +31,25 @@ public enum ModifierKind {
 
     private final String keyword;
 
-    private ModifierKind(final String keyword) {
+    ModifierKind(final String keyword) {
         this.keyword = Preconditions.checkNotNull(keyword);
     }
 
     /**
-     * @return String that corresponds to the yang keyword.
+     * YANG keyword of this modifier.
+     *
+     * @return String that corresponds to the YANG keyword.
      */
     public @Nonnull String getKeyword() {
         return keyword;
     }
 
     /**
-     * Returns ModifierKind based on supplied Yang keyword
+     * Returns ModifierKind based on supplied Yang keyword.
      *
      * @param keyword
      *            Yang keyword in string form
-     * @return ModifierKind based on supplied Yang keyword
+     * @return ModifierKind based on supplied YANG keyword
      * @throws NullPointerException if keyword is null
      */
     public static Optional<ModifierKind> parse(final String keyword) {