Skip to content

Commit c7d837d

Browse files
committed
Fixing typo in exception text as reported by Eric Fung in CODEC-103
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@966309 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8f1c55a commit c7d837d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public static String encodeHexString(byte[] data) {
164164
protected static int toDigit(char ch, int index) throws DecoderException {
165165
int digit = Character.digit(ch, 16);
166166
if (digit == -1) {
167-
throw new DecoderException("Illegal hexadecimal charcter " + ch + " at index " + index);
167+
throw new DecoderException("Illegal hexadecimal character " + ch + " at index " + index);
168168
}
169169
return digit;
170170
}

0 commit comments

Comments
 (0)