Skip to content

Commit

Permalink
Make toHexCharArray() private
Browse files Browse the repository at this point in the history
Signed-off-by: Shay Gordon <[email protected]>
  • Loading branch information
camembertelectrique committed Jul 2, 2020
1 parent 8bddea9 commit 17379a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/main/java/org/web3j/utils/Numeric.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 17379a9

Please sign in to comment.