From 2f91821eb66d1500b9bbb493caba9c261b6a766a Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 May 2015 09:20:16 +0000
Subject: [PATCH] Decouple ImportLDIFReader from Importer.

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
index 1665588..042c39e 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Importer.java
@@ -412,33 +412,6 @@
   }
 
   /**
-   * Return the suffix instance in the specified map that matches the specified
-   * DN.
-   *
-   * @param dn
-   *          The DN to search for.
-   * @param map
-   *          The map to search.
-   * @return The suffix instance that matches the DN, or null if no match is
-   *         found.
-   */
-  public static Suffix getMatchSuffix(DN dn, Map<DN, Suffix> map)
-  {
-    Suffix suffix = null;
-    DN nodeDN = dn;
-
-    while (suffix == null && nodeDN != null)
-    {
-      suffix = map.get(nodeDN);
-      if (suffix == null)
-      {
-        nodeDN = nodeDN.getParentDNInSuffix();
-      }
-    }
-    return suffix;
-  }
-
-  /**
    * Calculate buffer sizes and initialize properties based on memory.
    *
    * @throws InitializationException

--
Gitblit v1.10.0