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

Jean-Noel Rouvignac
18.04.2014 be9f94f921957835e36578e31b5905a91de24cd3
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/EntryContainer.java
@@ -988,7 +988,7 @@
                // default ordering. VLV search request goes through as if
                // this sort key was not found in the user entry.
                entryIDList =
                    EntryIDSetSorter.sort(EntryContainer.this, entryIDList, searchOperation,
                    EntryIDSetSorter.sort(EntryContainer.this, txn, entryIDList, searchOperation,
                        sortRequest.getSortOrder(), vlvRequest);
                if (sortRequest.containsSortKeys())
                {
@@ -1236,7 +1236,7 @@
          if (isInScope)
          {
            // Process the candidate entry.
            final Entry entry = getEntry(entryID);
            final Entry entry = getEntry(txn, entryID);
            if (entry != null)
            {
              lookthroughCount++;
@@ -1299,7 +1299,7 @@
   * @throws DirectoryException
   *           If an error occurs retrieving the entry
   */
  public Entry getEntry(EntryID entryID) throws DirectoryException
  public Entry getEntry(ReadableStorage txn, EntryID entryID) throws DirectoryException
  {
    // Try the entry cache first.
    final EntryCache entryCache = getEntryCache();
@@ -1309,7 +1309,7 @@
      return cacheEntry;
    }
    final Entry entry = id2entry.get(null, entryID, false);
    final Entry entry = id2entry.get(txn, entryID, false);
    if (entry != null)
    {
      // Put the entry in the cache making sure not to overwrite a newer copy
@@ -1391,7 +1391,7 @@
        Entry entry;
        try
        {
          entry = getEntry(id);
          entry = getEntry(txn, id);
        }
        catch (Exception e)
        {