Skip to content

Commit 40e1bfe

Browse files
committed
Demote new method from protected to private
1 parent e249d8d commit 40e1bfe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/main/java/org/apache/commons/codec/binary

src/main/java/org/apache/commons/codec/binary/Hex.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,8 @@ public static void encodeHex(final byte[] data, final int dataOffset, final int
216216
* @param toDigits the output alphabet (must contain at least 16 chars)
217217
* @param out a char[] which will hold the resultant appropriate characters from the alphabet.
218218
* @param outOffset the position within {@code out} at which to start writing the encoded characters.
219-
* @since 1.15
220219
*/
221-
protected static void encodeHex(final byte[] data, final int dataOffset, final int dataLen, final char[] toDigits,
220+
private static void encodeHex(final byte[] data, final int dataOffset, final int dataLen, final char[] toDigits,
222221
final char[] out, final int outOffset) {
223222
// two characters form the hex value.
224223
for (int i = dataOffset, j = outOffset; i < dataOffset + dataLen; i++) {

0 commit comments

Comments
 (0)