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

matthew_swift
28.47.2010 cc556edc003e4fb8df13611167fab0d9fd3890f9
opendj-sdk/sdk/src/org/opends/sdk/schema/CaseIgnoreSubstringMatchingRuleImpl.java
@@ -28,7 +28,8 @@
import static com.sun.opends.sdk.util.StringPrepProfile.*;
import static com.sun.opends.sdk.util.StringPrepProfile.CASE_FOLD;
import static com.sun.opends.sdk.util.StringPrepProfile.TRIM;
import org.opends.sdk.ByteSequence;
import org.opends.sdk.ByteString;
@@ -39,14 +40,14 @@
/**
 * This class defines the caseIgnoreSubstringsMatch matching rule
 * defined in X.520 and referenced in RFC 2252.
 * This class defines the caseIgnoreSubstringsMatch matching rule defined in
 * X.520 and referenced in RFC 2252.
 */
final class CaseIgnoreSubstringMatchingRuleImpl extends
    AbstractSubstringMatchingRuleImpl
{
  public ByteString normalizeAttributeValue(Schema schema,
      ByteSequence value)
  public ByteString normalizeAttributeValue(final Schema schema,
      final ByteSequence value)
  {
    return normalize(TRIM, value);
  }
@@ -54,7 +55,7 @@
  @Override
  ByteString normalizeSubString(Schema schema, ByteSequence value)
  ByteString normalizeSubString(final Schema schema, final ByteSequence value)
      throws DecodeException
  {
    return normalize(false, value);
@@ -62,7 +63,7 @@
  private ByteString normalize(boolean trim, ByteSequence value)
  private ByteString normalize(final boolean trim, final ByteSequence value)
  {
    final StringBuilder buffer = new StringBuilder();