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

boli
01.48.2006 e1336b7edca1f2ae31e29df78b3ce15d07ae6b22
opends/src/server/org/opends/server/backends/jeb/AttributeIndex.java
@@ -465,7 +465,9 @@
    // Set the upper bound for a range search.
    // We need a key for the upper bound that is of equal length
    // but slightly greater than the lower bound.
    byte[] upper = bytes;
    byte[] upper = new byte[bytes.length];
    System.arraycopy(bytes,0, upper, 0, bytes.length);
    for (int i = upper.length-1; i >= 0; i--)
    {
      if (upper[i] == 0xFF)
@@ -717,8 +719,6 @@
      OrderingMatchingRule orderingRule =
           getAttributeType().getOrderingMatchingRule();
      byte[] normBytes;
      // Set the lower bound for a range search.
      byte[] lower = orderingRule.normalizeValue(lowerValue.getValue()).value();