Author: bayard
Date: Wed Jul 21 16:48:41 2010
New Revision: 966309

URL: http://svn.apache.org/viewvc?rev=966309&view=rev
Log:
Fixing typo in exception text as reported by Eric Fung in CODEC-103

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java

Modified: 
commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java
URL: 
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java?rev=966309&r1=966308&r2=966309&view=diff
==============================================================================
--- 
commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java 
(original)
+++ 
commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java 
Wed Jul 21 16:48:41 2010
@@ -164,7 +164,7 @@ public class Hex implements BinaryEncode
     protected static int toDigit(char ch, int index) throws DecoderException {
         int digit = Character.digit(ch, 16);
         if (digit == -1) {
-            throw new DecoderException("Illegal hexadecimal charcter " + ch + 
" at index " + index);
+            throw new DecoderException("Illegal hexadecimal character " + ch + 
" at index " + index);
         }
         return digit;
     }


Reply via email to