diff options
author | Santosh Yadav <santosh.k.yadav@ril.com> | 2018-02-08 16:45:59 +0530 |
---|---|---|
committer | Santosh Yadav <santosh.k.yadav@ril.com> | 2018-02-08 16:45:59 +0530 |
commit | 1f2e5c89359ed7cd9e46325155dbd40c9115fcda (patch) | |
tree | 2c5f041cc0ff2a6203c42e10417ba7a9746a9299 | |
parent | 9030e6cced494e0d8ff28435a00586a8c155bc54 (diff) |
sonar bug: condition always true
removed the condition, it will always be true.
line no: 57
Change-Id: I1cf07fe959dc66d70af64548004c0f431cbbdf46
Issue-ID: VFC-695
Signed-off-by: Santosh Yadav <santosh.k.yadav@ril.com>
-rw-r--r-- | ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java index 6d99aea..f53a5ed 100644 --- a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java +++ b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java @@ -53,7 +53,7 @@ public class CollectMsgReceiverThread extends DriverThread { Thread.sleep(10); continue; } - if (obj != null && obj instanceof CollectMsg) { + if (obj instanceof CollectMsg) { CollectMsg collectMsg = (CollectMsg) obj; taskService.add(collectMsg); log.debug("receive a CollectMsg id = " + collectMsg.getId()); |