From 7d1b6429fc23f8d41e46ac752f242de5f4966a69 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Thu, 21 Sep 2006 16:08:55 +0000
Subject: [PATCH] Remove remaining unused/NYI messageToXXXOperation methods.
---
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java | 52 +++++++++-------------------------------------------
1 files changed, 9 insertions(+), 43 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java
index 716435c..c69eb4f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java
@@ -32,8 +32,6 @@
import java.util.Iterator;
import java.util.LinkedHashSet;
-import org.opends.server.core.DirectoryException;
-import org.opends.server.core.SearchOperation;
import org.opends.server.protocols.asn1.ASN1Boolean;
import org.opends.server.protocols.asn1.ASN1Element;
import org.opends.server.protocols.asn1.ASN1Enumerated;
@@ -114,17 +112,15 @@
LinkedHashSet<String> attributes)
{
assert debugConstructor(CLASS_NAME,
- new String[]
- {
- String.valueOf(baseDN),
- String.valueOf(scope),
- String.valueOf(dereferencePolicy),
- String.valueOf(sizeLimit),
- String.valueOf(timeLimit),
- String.valueOf(typesOnly),
- String.valueOf(filter),
- String.valueOf(attributes)
- });
+ String.valueOf(baseDN),
+ String.valueOf(scope),
+ String.valueOf(dereferencePolicy),
+ String.valueOf(sizeLimit),
+ String.valueOf(timeLimit),
+ String.valueOf(typesOnly),
+ String.valueOf(filter),
+ String.valueOf(attributes)
+ );
this.baseDN = baseDN;
@@ -663,36 +659,6 @@
/**
- * Converts the provided LDAP message containing a search request protocol op
- * to a <CODE>SearchOperation</CODE> object that may be processed by the core
- * server.
- *
- * @param requestMessage The LDAP message containing the search request
- * protocol op.
- * @param clientConnection The client connection from which the request was
- * read.
- *
- * @return The search operation created from the provided request message.
- *
- * @throws DirectoryException If the provided LDAP message cannot be decoded
- * as a search operation.
- */
- public static SearchOperation messageToSearchOperation(
- LDAPMessage requestMessage,
- LDAPClientConnection clientConnection)
- throws DirectoryException
- {
- assert debugEnter(CLASS_NAME, "messageToSearchOperation",
- String.valueOf(requestMessage),
- String.valueOf(clientConnection));
-
- // NYI
- return null;
- }
-
-
-
- /**
* Appends a string representation of this LDAP protocol op to the provided
* buffer.
*
--
Gitblit v1.10.0