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

Jean-Noel Rouvignac
14.15.2014 fd650a8fd632005824a2e64d78549992ee9ffda0
opendj3-server-dev/src/server/org/opends/server/api/ApproximateMatchingRule.java
@@ -26,11 +26,8 @@
 */
package org.opends.server.api;
import org.forgerock.opendj.ldap.ConditionResult;
import org.forgerock.opendj.ldap.ByteSequence;
import org.forgerock.opendj.ldap.ConditionResult;
/**
 * This class defines the set of methods and structures that must be
@@ -86,14 +83,8 @@
  public ConditionResult valuesMatch(ByteSequence attributeValue,
                                     ByteSequence assertionValue)
  {
    if (approximatelyMatch(attributeValue, assertionValue))
    {
      return ConditionResult.TRUE;
    }
    else
    {
      return ConditionResult.FALSE;
    }
    return ConditionResult.valueOf(
        approximatelyMatch(attributeValue, assertionValue));
  }
}