commit | a2625f7a2ca024a4a4a71387cb10d4ca563e2e7f | [log] [tgz] |
---|---|---|
author | Palash Kala <palash.kala@samsung.com> | Tue Apr 11 17:31:32 2017 +0900 |
committer | Satishk-Huawei <satishk@huawei.com> | Tue Apr 11 15:34:16 2017 +0000 |
tree | db577e77efaa464ebe4814cd59957d963a88ce31 | |
parent | 76a3d675ed3321b0a7474a380a2147c4c5730c53 [diff] |
[ONOS-6269] No need to check for null Change-Id: Id7e0674a1197c6a192f4a938200d51fd66f0c31c
diff --git a/protocols/ospf/ctl/src/main/java/org/onosproject/ospf/controller/area/OspfInterfaceImpl.java b/protocols/ospf/ctl/src/main/java/org/onosproject/ospf/controller/area/OspfInterfaceImpl.java index b10cf33..e3f7b98 100644 --- a/protocols/ospf/ctl/src/main/java/org/onosproject/ospf/controller/area/OspfInterfaceImpl.java +++ b/protocols/ospf/ctl/src/main/java/org/onosproject/ospf/controller/area/OspfInterfaceImpl.java
@@ -1169,7 +1169,7 @@ OspfLsa ospfLsa = (OspfLsa) nbr.getPendingReTxList().get(((OspfAreaImpl) ospfArea).getLsaKey(lsRequest)); - if (lsRequest != null && ospfLsa != null) { + if (ospfLsa != null) { String isSame = ((OspfLsdbImpl) ospfArea.database()).isNewerOrSameLsa( lsRequest, (LsaHeader) ospfLsa); if (isSame.equals("same")) {