commit | 250a747288e80966968aea52ba6b9ea61ede7dd1 | [log] [tgz] |
---|---|---|
author | Bharat saraswal <bharat.saraswal@huawei.com> | Thu May 12 13:16:57 2016 +0530 |
committer | Thomas Vachuska <tom@onlab.us> | Tue May 17 18:18:06 2016 +0000 |
tree | 2da428697b040f288626088020c5d13abf04804a | |
parent | 85971c6a33d3a91884ce42dc4f94efff9ee1bdd1 [diff] [blame] |
[ONOS-4411,ONOS-4413,ONOS-4526] Yang Enumeration Translator and Defect fixes. Change-Id: Ie5b6b5d6d6df283a57ae06b1979f0d03022f3baf
diff --git a/src/main/java/org/onosproject/yangutils/translator/tojava/JavaImportData.java b/src/main/java/org/onosproject/yangutils/translator/tojava/JavaImportData.java index 13eaf5f..958201b 100644 --- a/src/main/java/org/onosproject/yangutils/translator/tojava/JavaImportData.java +++ b/src/main/java/org/onosproject/yangutils/translator/tojava/JavaImportData.java
@@ -147,7 +147,7 @@ } } - if (isListToImport) { + if (getIfListImported()) { imports.add(getImportForList()); }