Permalink
Browse files

EUC-JP property case-insensitive lookups.

  • Loading branch information...
lopex committed Feb 22, 2012
1 parent fb46ea4 commit ab581b8c5f3fdb145e9cbfd3eed8f98ca22b0343
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/jcodings/specific/BaseEUCJPEncoding.java
@@ -28,7 +28,7 @@
import org.jcodings.exception.EncodingException;
import org.jcodings.exception.ErrorMessages;
import org.jcodings.exception.InternalException;
-import org.jcodings.util.BytesHash;
+import org.jcodings.util.CaseInsensitiveBytesHash;
abstract class BaseEUCJPEncoding extends EucEncoding {
@@ -112,7 +112,7 @@ public boolean isReverseMatchAllowed(byte[]bytes, int p, int end) {
CR_Katakana
};
- private static final BytesHash<Integer> CTypeNameHash = new BytesHash<Integer>();
+ private static final CaseInsensitiveBytesHash<Integer> CTypeNameHash = new CaseInsensitiveBytesHash<Integer>();
static {
CTypeNameHash.put("Hiragana".getBytes(), 1 + CharacterType.MAX_STD_CTYPE);

0 comments on commit ab581b8

Please sign in to comment.