private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }
private static byte[] makeReplacement(String icuCanonicalName, long address) { // We have our own map of RI-compatible default replacements (where ICU disagrees)... byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); if (replacement != null) { return replacement.clone(); } // ...but fall back to asking ICU. return NativeConverter.getSubstitutionBytes(address); }