Remove condition that is always true
Change-Id: I81ea280042533111102a2c8052454af87854988d
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -163,7 +163,7 @@ public class PcepErrorMsgVer1 implements PcepErrorMsg { | ... | @@ -163,7 +163,7 @@ public class PcepErrorMsgVer1 implements PcepErrorMsg { |
163 | this.errInfo = new PcepErrorInfoVer1(null, null, llErrObjList); | 163 | this.errInfo = new PcepErrorInfoVer1(null, null, llErrObjList); |
164 | this.errInfo.read(cb); | 164 | this.errInfo.read(cb); |
165 | 165 | ||
166 | - } else if ((llErrObjList != null) && (!llErrObjList.isEmpty())) { | 166 | + } else if (!llErrObjList.isEmpty()) { |
167 | //If only PCEP-ERROR list is present then store it in errObjListWithOpen. | 167 | //If only PCEP-ERROR list is present then store it in errObjListWithOpen. |
168 | this.errObjListWithOpen = new ErrorObjListWithOpen(llErrObjList); | 168 | this.errObjListWithOpen = new ErrorObjListWithOpen(llErrObjList); |
169 | } else { | 169 | } else { | ... | ... |
-
Please register or login to post a comment