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

sin
26.24.2009 81478c69903dbcd299e2748a3a37857647f8fa70
opends/src/server/org/opends/server/util/StaticUtils.java
@@ -1388,10 +1388,12 @@
    int minLength = Math.min(a.length, a2.length);
    for (int i = 0; i < minLength; i++) {
      if (a[i] != a2[i]) {
        if (a[i] < a2[i]) {
      int firstByte = 0xFF & a[i];
      int secondByte = 0xFF & a2[i];
      if (firstByte != secondByte) {
        if (firstByte < secondByte) {
          return -1;
        } else if (a[i] > a2[i]) {
        } else if (firstByte > secondByte) {
          return 1;
        }
      }