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;