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

Matthew Swift
09.56.2012 2e1954d85b5105fb81b38d367e5a0d6356669e47
opends/src/server/org/opends/server/extensions/CancelExtendedOperation.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions copyright 2012 ForgeRock AS.
 */
package org.opends.server.extensions;
@@ -182,7 +183,9 @@
    // Update the result of the extended operation and return.
    operation.setResultCode(cancelResult.getResultCode());
    ResultCode resultCode = cancelResult.getResultCode();
    operation.setResultCode(resultCode == ResultCode.CANCELED
                                ? ResultCode.SUCCESS : resultCode);
    operation.appendErrorMessage(cancelResult.getResponseMessage());
  }