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

boli
01.38.2008 36050c5587e30c0e0b740166c73c2d145c3471d1
opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java
@@ -346,10 +346,16 @@
  /**
   * Encode this set to its database format.
   *
   * @return The encoded bytes representing this set.
   * @return The encoded bytes representing this set or null if
   * this set is empty.
   */
  public byte[] toDatabase()
  {
    if(size() == 0)
    {
      return null;
    }
    byte[] entryIDBytes = JebFormat.entryIDListToDatabase(entryIDs);
    byte[] concatBytes = new byte[entryIDBytes.length + valuesBytes.length + 4];
    int v = entryIDs.length;