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

Chris Ridd
17.26.2012 fe6b7743202b99a10ba61038e4540c410b1344f3
opends/src/dsml/org/opends/dsml/protocol/DSMLAddOperation.java
@@ -23,9 +23,12 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2012 ForgeRock AS.
 */
package org.opends.dsml.protocol;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@@ -117,8 +120,7 @@
    // Set the result code and error message for the DSML response.
    addResponse.setErrorMessage(
            errorMessage != null ? errorMessage.toString() : null);
    ResultCode code = objFactory.createResultCode();
    code.setCode(resultCode);
    ResultCode code = ResultCodeFactory.create(objFactory, resultCode);
    addResponse.setResultCode(code);
    return addResponse;