From 32ad33f14a955b10fca06ae457267deb2ff50abd Mon Sep 17 00:00:00 2001 From: Jegadeesh Babu Date: Tue, 26 Feb 2019 15:46:27 +0530 Subject: [PATCH] Handled interrupted exception Sonar fix Issue-ID: APPC-1490 Change-Id: I261e2d4739bf5a1d3f11dc1774b04da98a366c16 Signed-off-by: Jegadeesh Babu --- .../org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java index 8694bface..c66311d58 100644 --- a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java +++ b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java @@ -6,6 +6,8 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= + * Modifications Copyright (C) 2019 IBM + * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -59,6 +61,7 @@ abstract class AbstractRequestResponseHandler implements RequestResponseHandler } }); } catch (InterruptedException e) { + Thread.currentThread().interrupt(); LOG.error("could not handle response <" + response + "> of corrID <" + corrID + ">", e); } } -- 2.16.6