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

Jean-Noel Rouvignac
17.47.2014 eaa95348ed85ad3d9909e8e703bdeae31a48e0ab
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NullIndex.java
@@ -39,9 +39,6 @@
import org.opends.server.types.Entry;
import org.opends.server.types.Modification;
import com.sleepycat.je.PreloadConfig;
import com.sleepycat.je.PreloadStats;
/**
 * A null index which replaces id2children and id2subtree when they have been
 * disabled.
@@ -66,10 +63,10 @@
   * @throws StorageRuntimeException
   *           If an error occurs in the JE database.
   */
  public NullIndex(TreeName name, Indexer indexer, State state, Storage storage,
  public NullIndex(TreeName name, Indexer indexer, State state, Storage storage, WriteableStorage txn,
      EntryContainer entryContainer) throws StorageRuntimeException
  {
    super(name, indexer, state, 0, 0, false, storage, entryContainer);
    super(name, indexer, state, 0, 0, false, storage, txn, entryContainer);
  }
  /** {@inheritDoc} */
@@ -255,12 +252,4 @@
  {
    return 0;
  }
  /** {@inheritDoc} */
  @Override
  public PreloadStats preload(PreloadConfig config) throws StorageRuntimeException
  {
    return new PreloadStats();
  }
}