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) {