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

Jean-Noel Rouvignac
16.28.2015 84a86b27ec5b3efb447f9a6e4236b9ff23658bdc
Remove dead code

Follow-up on r11583

Index.java, NullIndex.java:
Removed curLocal field (not used anywhere) + removed closeCursor() as a consequence

Importer.java:
Some code cleanup.
2 files modified
14 ■■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java 7 ●●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NullIndex.java 7 ●●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java
@@ -138,13 +138,6 @@
  /** {@inheritDoc} */
  @Override
  public void closeCursor() throws DatabaseException
  {
    // Do nothing.
  }
  /** {@inheritDoc} */
  @Override
  public void addEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options)
      throws DatabaseException, DirectoryException
  {
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NullIndex.java
@@ -124,13 +124,6 @@
  /** {@inheritDoc} */
  @Override
  public void closeCursor() throws StorageRuntimeException
  {
    // Do nothing.
  }
  /** {@inheritDoc} */
  @Override
  public void addEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options)
      throws StorageRuntimeException, DirectoryException
  {