ICU-7264 noncharacters are not ignorable any more

X-SVN-Rev: 28890
This commit is contained in:
Markus Scherer 2010-10-21 17:36:57 +00:00
parent 67531428ab
commit da8a555a3e

View File

@ -1981,11 +1981,6 @@ public final class CollationElementIterator
*/
private int nextImplicit(int codepoint)
{
if (!UCharacter.isLegal(codepoint)) {
// synwee to check with vladimir on the range of isNonChar()
// illegal code value, use completely ignoreable!
return IGNORABLE;
}
int result = RuleBasedCollator.impCEGen_.getImplicitFromCodePoint(codepoint);
m_CEBuffer_[0] = (result & RuleBasedCollator.CE_PRIMARY_MASK_)
| 0x00000505;
@ -2613,9 +2608,6 @@ public final class CollationElementIterator
*/
private int previousImplicit(int codepoint)
{
if (!UCharacter.isLegal(codepoint)) {
return IGNORABLE; // illegal code value, completely ignoreable!
}
int result = RuleBasedCollator.impCEGen_.getImplicitFromCodePoint(codepoint);
m_CEBufferSize_ = 2;
m_CEBufferOffset_ = 1;