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

boli
01.27.2007 455897cc245b67d929f409a93cfa7106e835cc1f
opends/src/server/org/opends/server/schema/TelephoneNumberSubstringMatchingRule.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
@@ -38,7 +38,6 @@
import org.opends.server.types.DirectoryException;
import org.opends.server.types.InitializationException;
import static org.opends.server.loggers.Debug.*;
import static org.opends.server.schema.SchemaConstants.*;
import static org.opends.server.util.StaticUtils.*;
@@ -53,11 +52,6 @@
public class TelephoneNumberSubstringMatchingRule
       extends SubstringMatchingRule
{
  /**
   * The fully-qualified name of this class for debugging purposes.
   */
  private static final String CLASS_NAME =
       "org.opends.server.schema.TelephoneNumberSubstringMatchingRule";
@@ -69,7 +63,6 @@
  {
    super();
    assert debugConstructor(CLASS_NAME);
  }
@@ -91,8 +84,6 @@
  public void initializeMatchingRule(ConfigEntry configEntry)
         throws ConfigException, InitializationException
  {
    assert debugEnter(CLASS_NAME, "initializeMatchingRule",
                      String.valueOf(configEntry));
    // No initialization is required.
  }
@@ -107,7 +98,6 @@
   */
  public String getName()
  {
    assert debugEnter(CLASS_NAME, "getName");
    return SMR_TELEPHONE_NAME;
  }
@@ -121,7 +111,6 @@
   */
  public String getOID()
  {
    assert debugEnter(CLASS_NAME, "getOID");
    return SMR_TELEPHONE_OID;
  }
@@ -136,7 +125,6 @@
   */
  public String getDescription()
  {
    assert debugEnter(CLASS_NAME, "getDescription");
    // There is no standard description for this matching rule.
    return null;
@@ -152,7 +140,6 @@
   */
  public String getSyntaxOID()
  {
    assert debugEnter(CLASS_NAME, "getSyntaxOID");
    return SYNTAX_SUBSTRING_ASSERTION_OID;
  }
@@ -173,7 +160,6 @@
  public ByteString normalizeValue(ByteString value)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "normalizeValue", String.valueOf(value));
    String valueString = value.stringValue();
    int    valueLength = valueString.length();
@@ -211,7 +197,6 @@
  public ByteString normalizeSubstring(ByteString substring)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "normalizeSubstring");
    // In this case, the logic used to normalize a substring is identical to the
@@ -242,9 +227,6 @@
                                       List<ByteString> subAnyElements,
                                       ByteString subFinal)
  {
    assert debugEnter(CLASS_NAME, "valueMatchesSubstring",
                      String.valueOf(value), String.valueOf(subInitial),
                      String.valueOf(subAnyElements), String.valueOf(subFinal));
    byte[] valueBytes = value.value();