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

Chris Ridd
17.26.2012 fe6b7743202b99a10ba61038e4540c410b1344f3
opends/src/dsml/org/opends/dsml/protocol/DSMLModifyOperation.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2012 ForgeRock AS.
 */
package org.opends.dsml.protocol;
@@ -141,8 +142,7 @@
    // Set the result code and error message for the DSML response.
    modResponse.setErrorMessage(
            errorMessage != null ? errorMessage.toString() : null);
    ResultCode code = objFactory.createResultCode();
    code.setCode(resultCode);
    ResultCode code = ResultCodeFactory.create(objFactory, resultCode);
    modResponse.setResultCode(code);
    return modResponse;