From e72135ae956a543d2b804b262d8be2d7ccd29075 Mon Sep 17 00:00:00 2001 From: Loganathan Sekar Date: Tue, 17 Oct 2023 18:10:40 +0530 Subject: [PATCH] Correction to variable based on review comment Signed-off-by: Loganathan Sekar --- .../src/main/java/io/mosip/biosdk/services/utils/Utils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biosdk-services/src/main/java/io/mosip/biosdk/services/utils/Utils.java b/biosdk-services/src/main/java/io/mosip/biosdk/services/utils/Utils.java index 87131e2f..2efcfb3a 100644 --- a/biosdk-services/src/main/java/io/mosip/biosdk/services/utils/Utils.java +++ b/biosdk-services/src/main/java/io/mosip/biosdk/services/utils/Utils.java @@ -126,8 +126,8 @@ private void appendString(BIR bir, StringBuilder stringBuilder) { } } - private static String getHashOfBytes(byte[] ba) { - return ba == null ? "null" : "\""+ DigestUtils.sha256Hex(ba) + "\""; + private static String getHashOfBytes(byte[] byteArray) { + return byteArray == null ? "null" : "\""+ DigestUtils.sha256Hex(byteArray) + "\""; } public String toString(ExtractTemplateRequestDto extractTemplateRequestDto) {