From 17379a95d6ac8f9472a5acbbd730c7de03e63438 Mon Sep 17 00:00:00 2001 From: Shay Gordon Date: Thu, 2 Jul 2020 12:01:16 -0400 Subject: [PATCH] Make toHexCharArray() private Signed-off-by: Shay Gordon --- utils/src/main/java/org/web3j/utils/Numeric.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/main/java/org/web3j/utils/Numeric.java b/utils/src/main/java/org/web3j/utils/Numeric.java index 3e1fb96dc..79f5fe7b2 100644 --- a/utils/src/main/java/org/web3j/utils/Numeric.java +++ b/utils/src/main/java/org/web3j/utils/Numeric.java @@ -232,7 +232,7 @@ public static String toHexString(byte[] input, int offset, int length, boolean w return withPrefix ? new StringBuilder(HEX_PREFIX).append(output).toString() : output; } - public static char[] toHexCharArray(byte[] input, int offset, int length, boolean withPrefix) { + private static char[] toHexCharArray(byte[] input, int offset, int length, boolean withPrefix) { final char[] output = new char[length << 1]; for (int i = offset, j = 0; i < length; i++, j++) { final int v = input[i] & 0xFF;