summaryrefslogtreecommitdiffstats
path: root/security-utils/src/main
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-27 15:36:08 +0900
committerTal Gitelman <tal.gitelman@att.com>2018-11-29 11:12:38 +0000
commit82c84075c71e285d1009bbe7e183ad2f0358d335 (patch)
tree93cd6a3c8b39318d63504a1abe0d34d096fe2f92 /security-utils/src/main
parent55c897b36c7bf0f123e561e5f334ca4d7fcc14bb (diff)
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 <pars.patel@samsung.com>
Diffstat (limited to 'security-utils/src/main')
-rw-r--r--security-utils/src/main/java/org/openecomp/sdc/security/SecurityUtil.java2
1 files changed, 1 insertions, 1 deletions
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 <encrypt/decrypt> '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" );