Coding gudilines for class and methods javadocs fixed.
Change-Id: I0153e6391c9ec9eacaac65c3989834b6bf5c65bf
diff --git a/src/main/java/org/onosproject/yangutils/datamodel/YangUnion.java b/src/main/java/org/onosproject/yangutils/datamodel/YangUnion.java
index f280bde..5170871 100644
--- a/src/main/java/org/onosproject/yangutils/datamodel/YangUnion.java
+++ b/src/main/java/org/onosproject/yangutils/datamodel/YangUnion.java
@@ -16,13 +16,13 @@
package org.onosproject.yangutils.datamodel;
+import java.util.LinkedList;
+import java.util.List;
+
import org.onosproject.yangutils.datamodel.exceptions.DataModelException;
import org.onosproject.yangutils.parser.Parsable;
import org.onosproject.yangutils.utils.YangConstructType;
-import java.util.LinkedList;
-import java.util.List;
-
/*
* Reference RFC 6020.
*
@@ -46,7 +46,7 @@
*/
/**
- * Data model node to maintain information defined in YANG union.
+ * Represents data model node to maintain information defined in YANG union.
*/
public class YangUnion implements Parsable {
@@ -57,7 +57,7 @@
private String unionName;
/**
- * Create a YANG union node.
+ * Creates a YANG union node.
*/
public YangUnion() {
typeList = new LinkedList<>();
@@ -82,7 +82,7 @@
}
/**
- * Set the list of YANG type.
+ * Sets the list of YANG type.
*
* @param typeList list of YANG type.
*/
@@ -91,7 +91,7 @@
}
/**
- * Add YANG type to type list.
+ * Adds YANG type to type list.
*
* @param yangType YANG type to be added to list
* @throws DataModelException union member type must not be one of the
@@ -106,7 +106,7 @@
}
/**
- * Set the union name.
+ * Sets the union name.
*
* @param unionName name of the union.
*/