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

Ludovic Poitou
22.03.2010 61960107e0dd01b4d5ee1143c7b0d3ac846764df
opendj-sdk/sdk/src/org/opends/sdk/responses/AbstractResultImpl.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Copyright 2010 Sun Microsystems, Inc.
 */
package org.opends.sdk.responses;
@@ -77,6 +77,27 @@
  /**
   * Creates a new modifiable result that is an exact copy of the provided
   * result.
   *
   * @param result
   *          The result to be copied.
   * @throws NullPointerException
   *           If {@code result} was {@code null}.
   */
  AbstractResultImpl(Result result) throws NullPointerException
  {
    super(result);
    this.cause = result.getCause();
    this.diagnosticMessage = result.getDiagnosticMessage();
    this.matchedDN = result.getMatchedDN();
    this.referralURIs.addAll(result.getReferralURIs());
    this.resultCode = result.getResultCode();
  }
  /**
   * {@inheritDoc}
   */
  public final S addReferralURI(final String uri) throws NullPointerException