From ef85885428fc2d352e5171a98f6edc321dcdaaee Mon Sep 17 00:00:00 2001 From: Indrijeet kumar Date: Tue, 28 Apr 2020 08:27:20 +0530 Subject: lowered some code smells lowered some code smells Issue-ID: PORTAL-869 Change-Id: I38a7c71f67b05bea076c6a0912712097da2093c7 Signed-off-by: Indrijeet Kumar --- music-core/src/main/java/org/onap/music/main/CipherUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'music-core/src/main/java/org/onap/music/main/CipherUtil.java') diff --git a/music-core/src/main/java/org/onap/music/main/CipherUtil.java b/music-core/src/main/java/org/onap/music/main/CipherUtil.java index 3278dc12..9a8ff69d 100644 --- a/music-core/src/main/java/org/onap/music/main/CipherUtil.java +++ b/music-core/src/main/java/org/onap/music/main/CipherUtil.java @@ -168,7 +168,8 @@ public class CipherUtil { */ public static String encryptPKC(String value, String skey) { Cipher cipher = null; - byte[] iv = null, finalByte = null; + byte[] iv = null; + byte[] finalByte = null; try { cipher = Cipher.getInstance(ALGORYTHM_DETAILS, "SunJCE"); -- cgit 1.2.3-korg