From 4eea76a075c3f954202283a745178b7e5fce7f03 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 20 Sep 2006 22:04:03 +0000
Subject: [PATCH] Added unit tests for some protocol.ldap classes. Removed messageToBindOperation method since it was NYI.
---
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/CompareRequestProtocolOp.java | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/CompareRequestProtocolOp.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/CompareRequestProtocolOp.java
index e904e7a..cc4f6d5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/CompareRequestProtocolOp.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/CompareRequestProtocolOp.java
@@ -30,8 +30,6 @@
import java.util.ArrayList;
-import org.opends.server.core.CompareOperation;
-import org.opends.server.core.DirectoryException;
import org.opends.server.protocols.asn1.ASN1Element;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.protocols.asn1.ASN1Sequence;
@@ -346,36 +344,6 @@
/**
- * Converts the provided LDAP message containing a compare request protocol
- * op to a <CODE>CompareOperation</CODE> object that may be processed by the
- * core server.
- *
- * @param requestMessage The LDAP message containing the compare request
- * protocol op.
- * @param clientConnection The client connection from which the request was
- * read.
- *
- * @return The compare operation created from the provided request message.
- *
- * @throws DirectoryException If the provided LDAP message cannot be decoded
- * as a compare operation.
- */
- public static CompareOperation messageToCompareOperation(
- LDAPMessage requestMessage,
- LDAPClientConnection clientConnection)
- throws DirectoryException
- {
- assert debugEnter(CLASS_NAME, "messageToCompareOperation",
- 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