From df0db46e678eee3f23ba8c1bbb9150787ee49f37 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.

---
 opends/src/server/org/opends/server/protocols/ldap/ModifyRequestProtocolOp.java |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/ldap/ModifyRequestProtocolOp.java b/opends/src/server/org/opends/server/protocols/ldap/ModifyRequestProtocolOp.java
index 81061c3..9541fb8 100644
--- a/opends/src/server/org/opends/server/protocols/ldap/ModifyRequestProtocolOp.java
+++ b/opends/src/server/org/opends/server/protocols/ldap/ModifyRequestProtocolOp.java
@@ -31,8 +31,6 @@
 import java.util.ArrayList;
 import java.util.Iterator;
 
-import org.opends.server.core.DirectoryException;
-import org.opends.server.core.ModifyOperation;
 import org.opends.server.protocols.asn1.ASN1Element;
 import org.opends.server.protocols.asn1.ASN1OctetString;
 import org.opends.server.protocols.asn1.ASN1Sequence;
@@ -296,36 +294,6 @@
 
 
   /**
-   * Converts the provided LDAP message containing a modify request protocol op
-   * to a <CODE>ModifyOperation</CODE> object that may be processed by the core
-   * server.
-   *
-   * @param  requestMessage    The LDAP message containing the modify request
-   *                           protocol op.
-   * @param  clientConnection  The client connection from which the request was
-   *                           read.
-   *
-   * @return  The modify operation created from the provided request message.
-   *
-   * @throws  DirectoryException  If the provided LDAP message cannot be decoded
-   *                              as a modify operation.
-   */
-  public static ModifyOperation messageToModifyOperation(
-                                     LDAPMessage requestMessage,
-                                     LDAPClientConnection clientConnection)
-         throws DirectoryException
-  {
-    assert debugEnter(CLASS_NAME, "messageToModifyOperation",
-                      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