Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add CaseInsensitiveBytesHash to unicode properties template

  • Loading branch information...
commit ea3ce1a954e17ff5b671a1fd52226e533b484d47 1 parent a23dcea
@lopex lopex authored
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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.