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

mmarie
23.08.2009 e8addbbcab3595289a8207a3038df01768667e34
3820 : CaseIgnoreEqualityMatchingRule normalization fails to remove spaces at the end of string with Non-ASCII characters

1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/schema/CaseIgnoreEqualityMatchingRule.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/CaseIgnoreEqualityMatchingRule.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
@@ -176,7 +176,7 @@
      byte b = value.byteAt(i);
      if ((b & 0x7F) != b)
      {
        return normalizeNonASCII(value);
        return normalizeNonASCII(value.subSequence(startPos, endPos + 1));
      }
      switch (b)