commit | 2cb7e8056961d70562f25023989381326292c141 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Sep 03 11:41:12 2015 -0700 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Sep 03 12:59:16 2015 -0700 |
tree | 9f56f349619b5e6c262d15ca231e17f769246b17 | |
parent | 28c91c8999a655304be7e7c6bca2da157ce3105f [diff] |
Remove condition that is always true Change-Id: I81ea280042533111102a2c8052454af87854988d
diff --git a/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepErrorMsgVer1.java b/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepErrorMsgVer1.java index 984418f..3651bcb 100644 --- a/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepErrorMsgVer1.java +++ b/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepErrorMsgVer1.java
@@ -163,7 +163,7 @@ this.errInfo = new PcepErrorInfoVer1(null, null, llErrObjList); this.errInfo.read(cb); - } else if ((llErrObjList != null) && (!llErrObjList.isEmpty())) { + } else if (!llErrObjList.isEmpty()) { //If only PCEP-ERROR list is present then store it in errObjListWithOpen. this.errObjListWithOpen = new ErrorObjListWithOpen(llErrObjList); } else {