From 82c84075c71e285d1009bbe7e183ad2f0358d335 Mon Sep 17 00:00:00 2001 From: Parshad Patel Date: Tue, 27 Nov 2018 15:36:08 +0900 Subject: Fix critical sonar issues Fix rethrow the "InterruptedException" and Use "isAssignableFrom" sonar issues Issue-ID: SDC-1895 Change-Id: I2cadc08b9e7acdc84cf25a3ce9d22199711afa5d Signed-off-by: Parshad Patel --- .../src/main/java/org/openecomp/sdc/security/SecurityUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security-utils/src') diff --git a/security-utils/src/main/java/org/openecomp/sdc/security/SecurityUtil.java b/security-utils/src/main/java/org/openecomp/sdc/security/SecurityUtil.java index b9a5f7ab4b..76986c58aa 100644 --- a/security-utils/src/main/java/org/openecomp/sdc/security/SecurityUtil.java +++ b/security-utils/src/main/java/org/openecomp/sdc/security/SecurityUtil.java @@ -47,7 +47,7 @@ public class SecurityUtil { LOG.warn("Unfamiliar command please use: \n>aes 'message to encrypt/decrypt' "); } }catch(Exception e){ - LOG.debug( "cannot perform {}:" ); + LOG.warn("Exception while message encryption or decryption"); throw e; } LOG.debug( "output: {}", res!=null && res.isLeft() ? res.left().value() : "ERROR" ); -- cgit 1.2.3-korg