From d538ef072b683bde422d6ccd3796ebe3d7097b4b Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 27 Feb 2015 15:59:37 +0000
Subject: [PATCH] Removed unused code

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Suffix.java |    1 -
 opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Suffix.java       |   22 ----------------------
 2 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Suffix.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Suffix.java
index 260dfba..ed0b642 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Suffix.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Suffix.java
@@ -61,7 +61,6 @@
   private final ConcurrentHashMap<DN, CountDownLatch> pendingMap =
           new ConcurrentHashMap<DN, CountDownLatch>();
   private final Set<DN> parentSet = new HashSet<DN>(PARENT_ID_SET_SIZE);
-  private DN parentDN;
 
   /**
    * Creates a suffix instance using the specified parameters.
@@ -304,27 +303,6 @@
   }
 
   /**
-   * Get the parent DN of the last entry added to a suffix.
-   *
-   * @return The parent DN of the last entry added.
-   */
-  public DN getParentDN()
-  {
-    return parentDN;
-  }
-
-
-  /**
-   * Set the parent DN of the last entry added to a suffix.
-   *
-   * @param parentDN The parent DN to save.
-   */
-  public void setParentDN(DN parentDN)
-  {
-    this.parentDN = parentDN;
-  }
-
-  /**
    * Return a src entry container.
    *
    * @return  The src entry container.
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Suffix.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Suffix.java
index a7d2cc6..a1450db 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Suffix.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Suffix.java
@@ -60,7 +60,6 @@
   private final ConcurrentHashMap<DN, CountDownLatch> pendingMap =
           new ConcurrentHashMap<DN, CountDownLatch>();
   private final Set<DN> parentSet = new HashSet<DN>(PARENT_ID_SET_SIZE);
-  private DN parentDN;
 
   /**
    * Creates a suffix instance using the specified parameters.

--
Gitblit v1.10.0