Skip to content

Commit 17379a9

Browse files
Make toHexCharArray() private
Signed-off-by: Shay Gordon <[email protected]>
1 parent 8bddea9 commit 17379a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/src/main/java/org/web3j/utils/Numeric.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public static String toHexString(byte[] input, int offset, int length, boolean w
232232
return withPrefix ? new StringBuilder(HEX_PREFIX).append(output).toString() : output;
233233
}
234234

235-
public static char[] toHexCharArray(byte[] input, int offset, int length, boolean withPrefix) {
235+
private static char[] toHexCharArray(byte[] input, int offset, int length, boolean withPrefix) {
236236
final char[] output = new char[length << 1];
237237
for (int i = offset, j = 0; i < length; i++, j++) {
238238
final int v = input[i] & 0xFF;

0 commit comments

Comments
 (0)