diff options
author | Jakub Dudycz <jakub.dudycz@nokia.com> | 2018-01-25 18:07:42 +0100 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-01-25 20:09:15 +0000 |
commit | 08769ccea1313eb8c5b7329671df543681119998 (patch) | |
tree | 8e85dfa87f6fed221ef76e4bac9486b0bd0a7a77 /appc-client/client-lib/src | |
parent | 24e223cc8da0acbb4727354e9da77b8213c04477 (diff) |
AsyncRequestResponseHandler fixes
Change-Id: I3e210841d0b18a9c59e76ae8106835efc1bcf916
Issue-ID: APPC-526
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Diffstat (limited to 'appc-client/client-lib/src')
-rw-r--r-- | appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java | 7 |
1 files changed, 2 insertions, 5 deletions
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; - } } /** |