commit | f346ea87d9d4f7165abecc19e80c43883dbda3b2 | [log] [tgz] |
---|---|---|
author | Phanendra Manda <phaneendra.manda@huawei.com> | Fri Sep 04 15:21:39 2015 -0700 |
committer | Ray Milkey <ray@onlab.us> | Tue Sep 08 16:29:59 2015 +0000 |
tree | 0572c69f0aa8fe0168a8403bfbe764123d4225fa | |
parent | 726dc5baab7a5634efaf87beb343a751cf7dfd9d [diff] [blame] |
Simplify statement and write comment Change-Id: Ie1f1cb087a2a38c4fd5749d71dc635428dbdb765
diff --git a/pcep/pcepio/src/main/java/org/onosproject/pcepio/types/ErrorObjListWithOpen.java b/pcep/pcepio/src/main/java/org/onosproject/pcepio/types/ErrorObjListWithOpen.java index 24e4506..5730026 100644 --- a/pcep/pcepio/src/main/java/org/onosproject/pcepio/types/ErrorObjListWithOpen.java +++ b/pcep/pcepio/src/main/java/org/onosproject/pcepio/types/ErrorObjListWithOpen.java
@@ -99,7 +99,7 @@ public boolean isErrorObjListWithOpenPresent() { // ( <error-obj-list> [<Open>] // At least in this case <error-obj-list> should be present. - return (!this.llerrorObjList.isEmpty()) ? true : false; + return !this.llerrorObjList.isEmpty(); } /**