[ONOS-4286],[ONOS-3911] YANG typedef and YANG augment
translator implementation.
Change-Id: I3e21d1cb52bcb90b935b672eee42b836c21f448b
diff --git a/src/main/java/org/onosproject/yangutils/translator/tojava/JavaQualifiedTypeInfo.java b/src/main/java/org/onosproject/yangutils/translator/tojava/JavaQualifiedTypeInfo.java
index e695b58..70aab37 100644
--- a/src/main/java/org/onosproject/yangutils/translator/tojava/JavaQualifiedTypeInfo.java
+++ b/src/main/java/org/onosproject/yangutils/translator/tojava/JavaQualifiedTypeInfo.java
@@ -87,11 +87,11 @@
* generation for import or for qualified access.
*
* @param curNode current data model node for which the java file is being
- * generated.
+ * generated
* @param attrType type of attribute being added, it will be null, when the
* child class is added as an attribute
* @param attributeName name of the attribute being added, it will used in
- * import info for child class.
+ * import info for child class
* @param isListAttr is the added attribute going to be used as a list
* @return return the import info for this attribute
*/
@@ -140,9 +140,9 @@
* generation for import or for qualified access.
*
* @param curNode current data model node for which the java file is being
- * generated.
+ * generated
* @param attributeName name of the attribute being added, it will used in
- * import info for child class.
+ * import info for child class
* @param isListAttr is the added attribute going to be used as a list
* @return return the import info for this attribute
*/
@@ -241,8 +241,7 @@
throw new TranslatorException("missing java file info for the data model node");
}
return ((HasJavaFileInfo) curNode).getJavaFileInfo().getPackage()
- .contentEquals(importInfo.getPkgInfo()
- + "." + importInfo.getClassInfo());
+ .contentEquals(importInfo.getPkgInfo());
}
@Override
@@ -265,7 +264,7 @@
}
/**
- * checks if the import info matches.
+ * Checks if the import info matches.
*
* @param importInfo matched import
* @return if equal or not