Skip to content
Browse files

add CaseInsensitiveBytesHash to unicode properties template

  • Loading branch information...
1 parent a23dcea commit ea3ce1a954e17ff5b671a1fd52226e533b484d47 @lopex lopex committed Feb 16, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 scripts/UnicodePropertiesTemplate.java
View
8 scripts/UnicodePropertiesTemplate.java
@@ -20,7 +20,7 @@
package org.jcodings.unicode;
import org.jcodings.Config;
-import org.jcodings.util.BytesHash;
+import org.jcodings.util.CaseInsensitiveBytesHash;
public class UnicodeProperties {
@@ -38,12 +38,12 @@
%{stdnames}
};
- private static BytesHash<Integer> initializeCTypeNameTable() {
- BytesHash<Integer> table = new BytesHash<Integer>();
+ private static CaseInsensitiveBytesHash<Integer> initializeCTypeNameTable() {
+ CaseInsensitiveBytesHash<Integer> table = new CaseInsensitiveBytesHash<Integer>();
for (int i=0; i<CTypeNameTable.length; i++) table.putDirect(CTypeNameTable[i], i);
return table;
}
- static final BytesHash<Integer> CTypeNameHash = initializeCTypeNameTable();
+ static final CaseInsensitiveBytesHash<Integer> CTypeNameHash = initializeCTypeNameTable();
}

0 comments on commit ea3ce1a

Please sign in to comment.
Something went wrong with that request. Please try again.