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

Jean-Noel Rouvignac
16.28.2015 9b24ea04b84ecd1cdf7c1f07d9460729c6b5e5e2
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Index.java
@@ -290,7 +290,7 @@
    final ByteString value = txn.getRMW(getName(), key);
    if (value != null)
    {
      EntryIDSet entryIDSet = computeEntryIDList(key, value, deletedIDs, addedIDs);
      EntryIDSet entryIDSet = computeEntryIDSet(key, value, deletedIDs, addedIDs);
      ByteString after = entryIDSet.toByteString();
      if (!after.isEmpty())
      {
@@ -318,8 +318,7 @@
    }
  }
  private EntryIDSet computeEntryIDList(ByteString key, ByteString value, EntryIDSet deletedIDs,
      EntryIDSet addedIDs)
  private EntryIDSet computeEntryIDSet(ByteString key, ByteString value, EntryIDSet deletedIDs, EntryIDSet addedIDs)
  {
    EntryIDSet entryIDSet = newSetFromBytes(key, value);
    if(addedIDs != null)