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

boli
01.27.2007 455897cc245b67d929f409a93cfa7106e835cc1f
opends/src/server/org/opends/server/api/EqualityMatchingRule.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.api;
@@ -32,7 +32,11 @@
import org.opends.server.types.ByteString;
import org.opends.server.types.ConditionResult;
import static org.opends.server.loggers.Debug.*;
import static
    org.opends.server.loggers.debug.DebugLogger.debugCought;
import static
    org.opends.server.loggers.debug.DebugLogger.debugEnabled;
import org.opends.server.types.DebugLogLevel;
@@ -44,11 +48,6 @@
public abstract class EqualityMatchingRule
       extends MatchingRule
{
  /**
   * The fully-qualified name of this class for debugging purposes.
   */
  private static final String CLASS_NAME =
       "org.opends.server.api.EqualityMatchingRule";
@@ -90,9 +89,6 @@
  public ConditionResult valuesMatch(ByteString attributeValue,
                                     ByteString assertionValue)
  {
    assert debugEnter(CLASS_NAME, "valuesMatch",
                      String.valueOf(attributeValue),
                      String.valueOf(assertionValue));
    if (areEqual(attributeValue, assertionValue))
    {
@@ -125,8 +121,6 @@
   */
  public int generateHashCode(AttributeValue attributeValue)
  {
    assert debugEnter(CLASS_NAME, "generateHashCode",
                      String.valueOf(attributeValue));
    try
    {
@@ -134,7 +128,10 @@
    }
    catch (Exception e)
    {
      assert debugException(CLASS_NAME, "generateHashCode", e);
      if (debugEnabled())
      {
        debugCought(DebugLogLevel.ERROR, e);
      }
      try
      {
@@ -142,7 +139,10 @@
      }
      catch (Exception e2)
      {
        assert debugException(CLASS_NAME, "generateHashCode", e2);
        if (debugEnabled())
        {
          debugCought(DebugLogLevel.ERROR, e2);
        }
        return 0;
      }