From 347a872b693e46c105e953ea331616c8a566d745 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 13 Nov 2008 19:22:03 +0000
Subject: [PATCH] This change relates to issue 3567.

---
 opends/src/server/org/opends/server/core/SearchOperationBasis.java |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SearchOperationBasis.java b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
index 4c2b312..b4aad32 100644
--- a/opends/src/server/org/opends/server/core/SearchOperationBasis.java
+++ b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
@@ -143,9 +143,6 @@
   // The matched values control associated with this search operation.
   private MatchedValuesControl matchedValuesControl;
 
-  // The persistent search associated with this search operation.
-  private PersistentSearch persistentSearch;
-
   // The search filter for the search operation.
   private SearchFilter filter;
 
@@ -249,7 +246,6 @@
     clientAcceptsReferrals = true;
     includeUsableControl   = false;
     responseSent           = new AtomicBoolean(false);
-    persistentSearch       = null;
     returnLDAPSubentries   = false;
     matchedValuesControl   = null;
     realAttributesOnly     = false;
@@ -350,7 +346,6 @@
     clientAcceptsReferrals = true;
     includeUsableControl   = false;
     responseSent           = new AtomicBoolean(false);
-    persistentSearch       = null;
     returnLDAPSubentries   = false;
     matchedValuesControl   = null;
   }
@@ -1274,12 +1269,6 @@
     if(cancelResult == null && this.cancelRequest == null)
     {
       this.cancelRequest = cancelRequest;
-
-      if (persistentSearch != null)
-      {
-        persistentSearch.cancel();
-        persistentSearch = null;
-      }
     }
   }
 
@@ -1346,14 +1335,6 @@
   /**
    * {@inheritDoc}
    */
-  public PersistentSearch getPersistentSearch()
-  {
-    return persistentSearch;
-  }
-
-  /**
-   * {@inheritDoc}
-   */
   public boolean isIncludeUsableControl()
   {
     return includeUsableControl;
@@ -1370,14 +1351,6 @@
   /**
    * {@inheritDoc}
    */
-  public void setPersistentSearch(PersistentSearch psearch)
-  {
-    this.persistentSearch = psearch;
-  }
-
-  /**
-   * {@inheritDoc}
-   */
   public Long getTimeLimitExpiration()
   {
     return timeLimitExpiration;

--
Gitblit v1.10.0