diff options
author | James Forsyth <jf2512@att.com> | 2017-09-22 17:17:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-22 17:17:14 +0000 |
commit | d46764bdb96b3aaf0b3fe90aeb23ab4abd3e43e5 (patch) | |
tree | 7d69673af28572463eda49ae2acb41e3742ce0f5 | |
parent | 6b781260f7359867c04a97862dad430a6df860eb (diff) | |
parent | 1b6903f057c5a020f23a5903daf09dffe454ae10 (diff) |
Merge "Removed redundant checks"
-rw-r--r-- | aai-traversal/src/main/java/org/openecomp/aai/dbgraphmap/SearchGraph.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/dbgraphmap/SearchGraph.java b/aai-traversal/src/main/java/org/openecomp/aai/dbgraphmap/SearchGraph.java index 32e8cbe..4b0f24d 100644 --- a/aai-traversal/src/main/java/org/openecomp/aai/dbgraphmap/SearchGraph.java +++ b/aai-traversal/src/main/java/org/openecomp/aai/dbgraphmap/SearchGraph.java @@ -942,10 +942,8 @@ public class SearchGraph { invItemList.add(invItem); } } - if (invItemList != null) { - inventoryItems.set("inventoryResponseItem", invItemList); - inventoryItem.set("inventoryResponseItems", inventoryItems); - } + inventoryItems.set("inventoryResponseItem", invItemList); + inventoryItem.set("inventoryResponseItems", inventoryItems); } } return inventoryItem; |