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

sin
26.24.2009 81478c69903dbcd299e2748a3a37857647f8fa70
opends/src/server/org/opends/server/schema/CaseExactSubstringMatchingRule.java
@@ -29,6 +29,7 @@
import static org.opends.server.schema.SchemaConstants.*;
import static org.opends.server.schema.StringPrepProfile.*;
import java.util.Collection;
import java.util.Collections;
@@ -141,7 +142,7 @@
         throws DirectoryException
  {
    StringBuilder buffer = new StringBuilder();
    buffer.append(value.toString().trim());
    prepareUnicode(buffer, value, TRIM, NO_CASE_FOLD);
    int bufferLength = buffer.length();
    if (bufferLength == 0)
@@ -196,7 +197,7 @@
    // normalizing a full value with the exception that it may include an
    // opening or trailing space.
    StringBuilder buffer = new StringBuilder();
    buffer.append(substring.toString());
    prepareUnicode(buffer, substring, false, NO_CASE_FOLD);
    int bufferLength = buffer.length();
    if (bufferLength == 0)