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

boli
01.27.2007 455897cc245b67d929f409a93cfa7106e835cc1f
opends/src/server/org/opends/server/schema/UUIDOrderingMatchingRule.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;
@@ -40,12 +40,10 @@
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.*;
import static org.opends.server.schema.SchemaConstants.*;
import static org.opends.server.util.StaticUtils.*;
@@ -56,11 +54,6 @@
public class UUIDOrderingMatchingRule
       extends OrderingMatchingRule
{
  /**
   * The fully-qualified name of this class for debugging purposes.
   */
  private static final String CLASS_NAME =
       "org.opends.server.schema.UUIDOrderingMatchingRule";
@@ -81,7 +74,6 @@
  {
    super();
    assert debugConstructor(CLASS_NAME);
  }
@@ -103,8 +95,6 @@
  public void initializeMatchingRule(ConfigEntry configEntry)
         throws ConfigException, InitializationException
  {
    assert debugEnter(CLASS_NAME, "initializeMatchingRule",
                      String.valueOf(configEntry));
    // No initialization is required.
  }
@@ -119,7 +109,6 @@
   */
  public String getName()
  {
    assert debugEnter(CLASS_NAME, "getName");
    return OMR_UUID_NAME;
  }
@@ -133,7 +122,6 @@
   */
  public String getOID()
  {
    assert debugEnter(CLASS_NAME, "getOID");
    return OMR_UUID_OID;
  }
@@ -148,7 +136,6 @@
   */
  public String getDescription()
  {
    assert debugEnter(CLASS_NAME, "getDescription");
    // There is no standard description for this matching rule.
    return null;
@@ -164,7 +151,6 @@
   */
  public String getSyntaxOID()
  {
    assert debugEnter(CLASS_NAME, "getSyntaxOID");
    return SYNTAX_UUID_OID;
  }
@@ -185,7 +171,6 @@
  public ByteString normalizeValue(ByteString value)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "normalizeValue", String.valueOf(value));
    byte[] valueBytes = value.value();
    if (valueBytes.length != 36)
@@ -319,8 +304,6 @@
   */
  public int compareValues(ByteString value1, ByteString value2)
  {
    assert debugEnter(CLASS_NAME, "compareValues", String.valueOf(value1),
                      String.valueOf(value2));
    return compare(value1.value(), value2.value());
  }
@@ -342,8 +325,6 @@
   */
  public int compare(byte[] b1, byte[] b2)
  {
    assert debugEnter(CLASS_NAME, "compareValues", String.valueOf(b1),
                      String.valueOf(b2));
    int minLength = Math.min(b1.length, b2.length);