commit | 5cd9e9cefeb121544da87cb2e23de9e27bbcf6dc | [log] [tgz] |
---|---|---|
author | Bharat saraswal <bharat.saraswal@huawei.com> | Thu May 26 23:48:38 2016 +0530 |
committer | Ray Milkey <ray@onlab.us> | Fri May 27 22:10:14 2016 +0000 |
tree | 0e8b6dc366409bca0f54b80a853346754dc04f61 | |
parent | 5daea746a95c11702e50a6d41057b0f52eea2c23 [diff] [blame] |
[ONOS-4616] YANG grouping linker issues fixed. Change-Id: I741aa9ad1008c02c9a9f90cc117cd43729132129
diff --git a/src/main/java/org/onosproject/yangutils/datamodel/YangUses.java b/src/main/java/org/onosproject/yangutils/datamodel/YangUses.java index f6a5e6b..4eae3a2 100644 --- a/src/main/java/org/onosproject/yangutils/datamodel/YangUses.java +++ b/src/main/java/org/onosproject/yangutils/datamodel/YangUses.java
@@ -271,8 +271,8 @@ } YangNode usesParentNode = getParentNodeInGenCode(this); - if ((!(usesParentNode instanceof YangLeavesHolder)) - || (!(usesParentNode instanceof CollisionDetector))) { + if (!(usesParentNode instanceof YangLeavesHolder) + || !(usesParentNode instanceof CollisionDetector)) { throw new LinkerException("Linker Exception: YANG uses holder construct is wrong"); }