From f62c39ffa948c06d92702924bb33e435c6c6f529 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 12 Dec 2014 12:45:19 +0000
Subject: [PATCH] Code cleanup

---
 opendj3-server-dev/src/server/org/opends/server/backends/jeb/DN2ID.java |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/backends/jeb/DN2ID.java b/opendj3-server-dev/src/server/org/opends/server/backends/jeb/DN2ID.java
index 594d304..7c2dc7b 100644
--- a/opendj3-server-dev/src/server/org/opends/server/backends/jeb/DN2ID.java
+++ b/opendj3-server-dev/src/server/org/opends/server/backends/jeb/DN2ID.java
@@ -90,26 +90,6 @@
   }
 
   /**
-   * Write a record to the DN database.  If a record with the given key already
-   * exists, the record will be replaced, otherwise a new record will be
-   * inserted.
-   * @param txn A JE database transaction to be used for the database operation,
-   * or null if none.
-   * @param dn The entry DN, which is the key to the record.
-   * @param id The entry ID, which is the value of the record.
-   * @return true if the record was written, false if it was not written.
-   * @throws DatabaseException If an error occurred while attempting to write
-   * the record.
-   */
-  public boolean put(Transaction txn, DN dn, EntryID id) throws DatabaseException
-  {
-    DatabaseEntry key = new DatabaseEntry(dnToDNKey(dn, prefixRDNComponents));
-    DatabaseEntry data = id.getDatabaseEntry();
-
-    return put(txn, key, data) == SUCCESS;
-  }
-
-  /**
    * Write a record to the DN database, where the key and value are already
    * formatted.
    * @param txn A JE database transaction to be used for the database operation,

--
Gitblit v1.10.0