Handled interrupted exception 64/79164/4
authorJegadeesh Babu <jegabab1@in.ibm.com>
Tue, 26 Feb 2019 10:16:27 +0000 (15:46 +0530)
committerTakamune Cho <takamune.cho@att.com>
Wed, 27 Feb 2019 20:22:10 +0000 (20:22 +0000)
Sonar fix

Issue-ID: APPC-1490
Change-Id: I261e2d4739bf5a1d3f11dc1774b04da98a366c16
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java

index 8694bfa..c66311d 100644 (file)
@@ -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);
         }
     }