From 73f5d0855f8fc31259e770cdad089612e77a6383 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 16 Mar 2015 13:29:59 +0000
Subject: [PATCH] Remove dead code.

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java
index 32b60aa..5e8d539 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java
@@ -100,8 +100,6 @@
    * with the entries database.
    */
   private boolean trusted;
-  /** A flag to indicate if a rebuild process is running on this vlvIndex. */
-  private boolean rebuildRunning;
 
   /** The VLV vlvIndex configuration. */
   private LocalDBVLVIndexCfg config;
@@ -739,7 +737,7 @@
                              StringBuilder debugBuilder)
       throws DirectoryException, DatabaseException
   {
-    if (!trusted || rebuildRunning
+    if (!trusted
         || !searchOperation.getBaseDN().equals(baseDN)
         || !searchOperation.getScope().equals(scope)
         || !searchOperation.getFilter().equals(filter)
@@ -1066,16 +1064,6 @@
   }
 
   /**
-   * Set the rebuild status of this vlvIndex.
-   * @param rebuildRunning True if a rebuild process on this vlvIndex
-   *                       is running or False otherwise.
-   */
-  public synchronized void setRebuildStatus(boolean rebuildRunning)
-  {
-    this.rebuildRunning = rebuildRunning;
-  }
-
-  /**
    * Gets the values to sort on from the entry.
    *
    * @param entry The entry to get the values from.

--
Gitblit v1.10.0