mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/src/org/opends/sdk/schema/TelephoneNumberSubstringMatchingRuleImpl.java
@@ -36,17 +36,16 @@
/**
 * This class implements the telephoneNumberSubstringsMatch matching
 * rule defined in X.520 and referenced in RFC 2252. Note that although
 * the specification calls for a very rigorous format, this is widely
 * ignored so this matching will compare only numeric digits and strip
 * out everything else.
 * This class implements the telephoneNumberSubstringsMatch matching rule
 * defined in X.520 and referenced in RFC 2252. Note that although the
 * specification calls for a very rigorous format, this is widely ignored so
 * this matching will compare only numeric digits and strip out everything else.
 */
final class TelephoneNumberSubstringMatchingRuleImpl extends
    AbstractSubstringMatchingRuleImpl
{
  public ByteString normalizeAttributeValue(Schema schema,
      ByteSequence value)
  public ByteString normalizeAttributeValue(final Schema schema,
      final ByteSequence value)
  {
    final String valueString = value.toString();
    final int valueLength = valueString.length();