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

boli
01.27.2007 455897cc245b67d929f409a93cfa7106e835cc1f
opends/src/server/org/opends/server/schema/NumericStringEqualityMatchingRule.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;
@@ -42,7 +42,6 @@
import org.opends.server.types.InitializationException;
import org.opends.server.types.ResultCode;
import static org.opends.server.loggers.Debug.*;
import static org.opends.server.loggers.Error.*;
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.messages.SchemaMessages.*;
@@ -59,11 +58,6 @@
public class NumericStringEqualityMatchingRule
       extends EqualityMatchingRule
{
  /**
   * The fully-qualified name of this class for debugging purposes.
   */
  private static final String CLASS_NAME =
       "org.opends.server.schema.NumericStringEqualityMatchingRule";
@@ -74,7 +68,6 @@
  {
    super();
    assert debugConstructor(CLASS_NAME);
  }
@@ -96,8 +89,6 @@
  public void initializeMatchingRule(ConfigEntry configEntry)
         throws ConfigException, InitializationException
  {
    assert debugEnter(CLASS_NAME, "initializeMatchingRule",
                      String.valueOf(configEntry));
    // No initialization is required.
  }
@@ -112,7 +103,6 @@
   */
  public String getName()
  {
    assert debugEnter(CLASS_NAME, "getName");
    return EMR_NUMERIC_STRING_NAME;
  }
@@ -126,7 +116,6 @@
   */
  public String getOID()
  {
    assert debugEnter(CLASS_NAME, "getOID");
    return EMR_NUMERIC_STRING_OID;
  }
@@ -141,7 +130,6 @@
   */
  public String getDescription()
  {
    assert debugEnter(CLASS_NAME, "getDescription");
    // There is no standard description for this matching rule.
    return null;
@@ -157,7 +145,6 @@
   */
  public String getSyntaxOID()
  {
    assert debugEnter(CLASS_NAME, "getSyntaxOID");
    return SYNTAX_NUMERIC_STRING_OID;
  }
@@ -178,7 +165,6 @@
  public ByteString normalizeValue(ByteString value)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "normalizeValue", String.valueOf(value));
    String        valueString = value.stringValue();
    int           valueLength = valueString.length();
@@ -231,8 +217,6 @@
   */
  public boolean areEqual(ByteString value1, ByteString value2)
  {
    assert debugEnter(CLASS_NAME, "areEqual", String.valueOf(value1),
                      String.valueOf(value2));
    // Since the values are already normalized, we just need to compare the
    // associated byte arrays.