summaryrefslogtreecommitdiffstats
path: root/appc-client
diff options
context:
space:
mode:
Diffstat (limited to 'appc-client')
-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;
- }
}
/**