From 08769ccea1313eb8c5b7329671df543681119998 Mon Sep 17 00:00:00 2001 From: Jakub Dudycz Date: Thu, 25 Jan 2018 18:07:42 +0100 Subject: AsyncRequestResponseHandler fixes Change-Id: I3e210841d0b18a9c59e76ae8106835efc1bcf916 Issue-ID: APPC-526 Signed-off-by: Jakub Dudycz --- .../onap/appc/client/impl/core/AsyncRequestResponseHandler.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'appc-client') diff --git a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java index 1bcf0af99..065c7d454 100644 --- a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java +++ b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java @@ -33,7 +33,7 @@ import java.util.concurrent.TimeoutException; */ class AsyncRequestResponseHandler extends AbstractRequestResponseHandler { - private final EELFLogger LOG = EELFManager.getInstance().getLogger(AsyncRequestResponseHandler.class); + private static final EELFLogger LOG = EELFManager.getInstance().getLogger(AsyncRequestResponseHandler.class); AsyncRequestResponseHandler(String corrID, ICoreResponseHandler businessCallback, @@ -48,6 +48,7 @@ class AsyncRequestResponseHandler extends AbstractRequestResponseHandler { * @param response - Response * @param type - Type of Response */ + @Override public void runTask(String response, String type) { boolean finalTask = false; try { @@ -59,10 +60,6 @@ class AsyncRequestResponseHandler extends AbstractRequestResponseHandler { coreManager.cancelTimer(corrID); coreManager.unregisterHandler(corrID); } - else{ - response = null; - type = null; - } } /** -- cgit 1.2.3-korg