aboutsummaryrefslogtreecommitdiffstats
path: root/appc-client/client-lib/src/main/java
diff options
context:
space:
mode:
authorJakub Dudycz <jakub.dudycz@nokia.com>2018-01-25 18:07:42 +0100
committerPatrick Brady <pb071s@att.com>2018-01-25 20:09:15 +0000
commit08769ccea1313eb8c5b7329671df543681119998 (patch)
tree8e85dfa87f6fed221ef76e4bac9486b0bd0a7a77 /appc-client/client-lib/src/main/java
parent24e223cc8da0acbb4727354e9da77b8213c04477 (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/main/java')
-rw-r--r--appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AsyncRequestResponseHandler.java7
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;
- }
}
/**