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

Jean-Noel Rouvignac
23.59.2015 974d84fec523fb2ab9592c78683abec2a34e5ada
opendj3-server-dev/src/server/org/opends/server/backends/jeb/ID2Entry.java
@@ -22,10 +22,16 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2012-2014 ForgeRock AS.
 *      Portions Copyright 2012-2015 ForgeRock AS.
 */
package org.opends.server.backends.jeb;
import static com.sleepycat.je.OperationStatus.*;
import static org.forgerock.util.Utils.*;
import static org.opends.messages.JebMessages.*;
import static org.opends.server.core.DirectoryServer.*;
import java.io.IOException;
import java.io.OutputStream;
import java.util.zip.DataFormatException;
@@ -47,12 +53,6 @@
import com.sleepycat.je.*;
import static com.sleepycat.je.OperationStatus.*;
import static org.forgerock.util.Utils.*;
import static org.opends.messages.JebMessages.*;
import static org.opends.server.core.DirectoryServer.*;
/**
 * Represents the database containing the LDAP entries. The database key is
 * the entry ID and the value is the entry contents.
@@ -370,22 +370,6 @@
  }
  /**
   * Write a pre-formatted record into the entry database.
   *
   * @param txn The database transaction or null if none.
   * @param key The key containing a pre-formatted entry ID.
   * @param data The data value containing a pre-formatted LDAP entry.
   * @return true if the entry was written, false if it was not.
   * @throws DatabaseException If an error occurs in the JE database.
   */
  @Override
  public OperationStatus put(Transaction txn, DatabaseEntry key, DatabaseEntry data)
       throws DatabaseException
  {
    return super.put(txn, key, data);
  }
  /**
   * Remove a record from the entry database.
   *
   * @param txn The database transaction or null if none.