mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Chris Ridd
30.38.2012 70d594cec595cab0f430c0d1bdca41a2770cbfea
opends/src/dsml/org/opends/dsml/protocol/DSMLCompareOperation.java
@@ -30,6 +30,7 @@
import java.io.IOException;
import java.util.List;
import org.opends.messages.Message;
import org.opends.server.protocols.asn1.ASN1Exception;
@@ -67,6 +68,7 @@
   *
   * @param  objFactory      The object factory for this operation.
   * @param  compareRequest  The compare request for this operation.
   * @param  controls        Any required controls (e.g. for proxy authz).
   *
   * @return  The result of the compare operation.
   *
@@ -79,7 +81,8 @@
   *                         element.
   */
  public LDAPResult doOperation(ObjectFactory objFactory,
        CompareRequest compareRequest)
        CompareRequest compareRequest,
        List<org.opends.server.types.Control> controls)
    throws IOException, LDAPException, ASN1Exception
  {
    LDAPResult compareResponse = objFactory.createLDAPResult();
@@ -93,7 +96,8 @@
    // Create and send the LDAP compare request to the server.
    ProtocolOp op = new CompareRequestProtocolOp(dnStr, attrName, attrValue);
    LDAPMessage msg = new LDAPMessage(DSMLServlet.nextMessageID(), op);
    LDAPMessage msg = new LDAPMessage(DSMLServlet.nextMessageID(), op,
        controls);
    connection.getLDAPWriter().writeMessage(msg);
    // Read and decode the LDAP response from the server.