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

Jean-Noel Rouvignac
16.29.2015 2b32de2e46f63f9949886386cfe7edcb97c16d1b
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/Index.java
@@ -106,9 +106,6 @@
   */
  private boolean rebuildRunning;
  /** Thread local area to store per thread cursors. */
  private final ThreadLocal<Cursor> curLocal = new ThreadLocal<Cursor>();
  /**
   * Create a new index object.
   * @param name The name of the index database within the entryContainer.
@@ -591,19 +588,6 @@
  }
  /**
   * Close any cursors open against this index.
   *
   * @throws StorageRuntimeException  If a database error occurs.
   */
  public void closeCursor() throws StorageRuntimeException {
    Cursor cursor = curLocal.get();
    if(cursor != null) {
      cursor.close();
      curLocal.remove();
    }
  }
  /**
   * Update the index buffer for a deleted entry.
   *
   * @param buffer The index buffer to use to store the deleted keys