From 16c599e73d3deb399faf56205330060827b10ee5 Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Fri, 1 Sep 2006 20:12:54 +0000 Subject: [PATCH] ICU-5362 remove API X-SVN-Rev: 20229 --- icu4j/src/com/ibm/icu/text/UTF16.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/icu4j/src/com/ibm/icu/text/UTF16.java b/icu4j/src/com/ibm/icu/text/UTF16.java index bf168120f6..b155b8db3b 100755 --- a/icu4j/src/com/ibm/icu/text/UTF16.java +++ b/icu4j/src/com/ibm/icu/text/UTF16.java @@ -2850,18 +2850,4 @@ public final class UTF16 result.append(getTrailSurrogate(ch)); return result.toString(); } - /** - * Constructs the supplementary code point and return it - * @param lead the lead surrogate - * @param trail the trail surrogate - * @return code point - */ - public static int getCodePoint(char lead, char trail){ - if(isLeadSurrogate(lead)&& isTrailSurrogate(trail)){ - return UCharacterProperty.getRawSupplementary(lead, trail); - } - throw new IllegalArgumentException("The lead: \\u"+Integer.toHexString(lead)+ - " trail: "+Integer.toHexString(trail) + - "failed"); - } }