From b53da04d63554049e5b3895321b994c9c20b140a Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 12 Apr 2013 14:45:05 +0000
Subject: [PATCH] Fix issue OPENDJ-861: Etag attribute invalid when used in conjunction with pre- and post- read controls
---
opends/src/server/org/opends/server/core/SearchOperationWrapper.java | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SearchOperationWrapper.java b/opends/src/server/org/opends/server/core/SearchOperationWrapper.java
index de8b75b..76bdd8c 100644
--- a/opends/src/server/org/opends/server/core/SearchOperationWrapper.java
+++ b/opends/src/server/org/opends/server/core/SearchOperationWrapper.java
@@ -23,13 +23,14 @@
*
*
* Copyright 2008-2009 Sun Microsystems, Inc.
- * Portions Copyright 2011 ForgeRock AS
+ * Portions Copyright 2011-2013 ForgeRock AS
*/
package org.opends.server.core;
-import java.util.LinkedHashSet;
import java.util.List;
+import java.util.Set;
+
import org.opends.server.controls.MatchedValuesControl;
import org.opends.server.types.*;
@@ -117,7 +118,7 @@
/**
* {@inheritDoc}
*/
- public LinkedHashSet<String> getAttributes()
+ public Set<String> getAttributes()
{
return search.getAttributes();
}
@@ -221,7 +222,7 @@
/**
* {@inheritDoc}
*/
- public void setAttributes(LinkedHashSet<String> attributes)
+ public void setAttributes(Set<String> attributes)
{
search.setAttributes(attributes);
}
@@ -432,7 +433,6 @@
/**
* {@inheritDoc}
- * @throws DirectoryException
*/
public void sendSearchEntry(SearchResultEntry entry)
throws DirectoryException
@@ -442,7 +442,6 @@
/**
* {@inheritDoc}
- * @throws DirectoryException
*/
public boolean sendSearchReference(SearchResultReference reference)
throws DirectoryException
--
Gitblit v1.10.0