diff options
author | Benjamin, Max <max.benjamin@att.com> | 2020-07-21 16:31:22 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-07-21 16:31:22 -0400 |
commit | 2afdc20f9478050c41abd67cd2b484688f8047b9 (patch) | |
tree | 9903981d5adbcae122541902782db2011a3a3e7e /graph-inventory/aai-client/src/main/java/org | |
parent | 4a0a2720d6f01c6c8aa49e21b9497254ee06358a (diff) |
always use consumer in output method
always use consumer in output method
Issue-ID: SO-3084
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I03a36b1b7db702dc95b381f25853efcc073d0900
Diffstat (limited to 'graph-inventory/aai-client/src/main/java/org')
-rw-r--r-- | graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/DSLQueryBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/DSLQueryBuilder.java b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/DSLQueryBuilder.java index 59e3895ce2..c56ce0bfee 100644 --- a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/DSLQueryBuilder.java +++ b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/DSLQueryBuilder.java @@ -63,7 +63,7 @@ public class DSLQueryBuilder<S, E> { Object obj = steps.get(steps.size() - 1); if (obj instanceof DSLNodeBase) { - ((DSLNodeBase) steps.get(steps.size() - 1)).output(); + consumer.accept((DSLNodeBase) steps.get(steps.size() - 1)); } else if (obj.getClass().getName().contains("$$Lambda$")) { // process lambda expressions for (Field f : obj.getClass().getDeclaredFields()) { |