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

Ludovic Poitou
18.41.2010 1734229125e7bad5f85dfe11d076eeda206236a9
sdk/src/org/opends/sdk/requests/ModifyDNRequestImpl.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Copyright 2010 Sun Microsystems, Inc.
 */
package org.opends.sdk.requests;
@@ -75,6 +75,27 @@
  /**
   * Creates a new modify DN request that is an exact copy of the provided
   * request.
   *
   * @param modifyDNRequest
   *          The modify DN request to be copied.
   * @throws NullPointerException
   *           If {@code modifyDNRequest} was {@code null} .
   */
  ModifyDNRequestImpl(final ModifyDNRequest modifyDNRequest)
      throws NullPointerException
  {
    super(modifyDNRequest);
    this.name = modifyDNRequest.getName();
    this.newSuperior = modifyDNRequest.getNewSuperior();
    this.newRDN = modifyDNRequest.getNewRDN();
    this.deleteOldRDN = modifyDNRequest.isDeleteOldRDN();
  }
  /**
   * {@inheritDoc}
   */
  public <R, P> R accept(final ChangeRecordVisitor<R, P> v, final P p)