From 6f1a7f89a2bc9812c61f71d282ead3299556f876 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 02 Oct 2015 15:34:44 +0000
Subject: [PATCH] Ran UCDetector on the pluggable and PDB backend

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
index ce816d5..d4025c6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
@@ -1526,7 +1526,7 @@
     }
   }
 
-  void addEntry0(final Entry entry, final DN parentDN, final EntryID entryID, final IndexBuffer indexBuffer,
+  private void addEntry0(final Entry entry, final DN parentDN, final EntryID entryID, final IndexBuffer indexBuffer,
       final ByteString encodedEntry, WriteableTransaction txn) throws DirectoryException
   {
     // Check that the parent entry exists.
@@ -2763,29 +2763,6 @@
   }
 
   /**
-   * Clear the contents for a tree from disk.
-   *
-   * @param txn a non null transaction
-   * @param tree The tree to clear.
-   * @throws StorageRuntimeException if a storage error occurs.
-   */
-  void clearTree(WriteableTransaction txn, Tree tree) throws StorageRuntimeException
-  {
-    try
-    {
-      tree.delete(txn);
-    }
-    finally
-    {
-      tree.open(txn, true);
-    }
-    if(logger.isTraceEnabled())
-    {
-      logger.trace("Cleared the tree %s", tree.getName());
-    }
-  }
-
-  /**
    * Finds an existing entry whose DN is the closest ancestor of a given baseDN.
    *
    * @param baseDN  the DN for which we are searching a matched DN.

--
Gitblit v1.10.0