aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-request-handler/appc-request-handler-core
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-04-21 06:08:59 +0000
committerGerrit Code Review <gerrit@onap.org>2017-04-21 06:08:59 +0000
commit17766468368f653027b4aea744c4a8ba4c454829 (patch)
treee8517762e2c4a5a0174939028420e7a7717f3b8f /appc-dispatcher/appc-request-handler/appc-request-handler-core
parentb06810bb67667edb0d9d9087cc1f978bda988c87 (diff)
parent7b9de12e2f41a44c1a1f0941163d817a27da53c3 (diff)
Merge "Refactor CommandExecutorInput to be immutable"
Diffstat (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core')
-rw-r--r--appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/openecomp/appc/requesthandler/impl/RequestHandlerImpl.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/openecomp/appc/requesthandler/impl/RequestHandlerImpl.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/openecomp/appc/requesthandler/impl/RequestHandlerImpl.java
index 0259ec452..b1fe117b7 100644
--- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/openecomp/appc/requesthandler/impl/RequestHandlerImpl.java
+++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/openecomp/appc/requesthandler/impl/RequestHandlerImpl.java
@@ -370,9 +370,7 @@ public class RequestHandlerImpl implements RequestHandler {
RuntimeContext clonedContext = cloneContext(runtimeContext);
- CommandExecutorInput commandExecutorInput = new CommandExecutorInput();
- commandExecutorInput.setRuntimeContext(clonedContext);
- commandExecutorInput.setTtl(remainingTTL);
+ CommandExecutorInput commandExecutorInput = new CommandExecutorInput(clonedContext, remainingTTL);
try {
commandExecutor.executeCommand(commandExecutorInput);