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

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/src/org/opends/sdk/responses/AbstractUnmodifiableResultImpl.java
@@ -29,13 +29,16 @@
import java.util.Collections;
import java.util.List;
import org.opends.sdk.ResultCode;
/**
 * Unmodifiable result implementation.
 *
 *
 * @param <S>
 *          The type of result.
 */
@@ -49,12 +52,11 @@
  /**
   * Creates a new unmodifiable result implementation.
   *
   *
   * @param impl
   *          The underlying result implementation to be made
   *          unmodifiable.
   *          The underlying result implementation to be made unmodifiable.
   */
  AbstractUnmodifiableResultImpl(S impl)
  AbstractUnmodifiableResultImpl(final S impl)
  {
    super(impl);
    this.impl = impl;
@@ -62,7 +64,7 @@
  public final S addReferralURI(String uri)
  public final S addReferralURI(final String uri)
      throws UnsupportedOperationException, NullPointerException
  {
    throw new UnsupportedOperationException();
@@ -70,14 +72,6 @@
  public final S clearReferralURIs()
      throws UnsupportedOperationException
  {
    throw new UnsupportedOperationException();
  }
  public final Throwable getCause()
  {
    return impl.getCause();
@@ -99,9 +93,9 @@
  public final Iterable<String> getReferralURIs()
  public final List<String> getReferralURIs()
  {
    return impl.getReferralURIs();
    return Collections.unmodifiableList(impl.getReferralURIs());
  }
@@ -113,13 +107,6 @@
  public final boolean hasReferralURIs()
  {
    return impl.hasReferralURIs();
  }
  public final boolean isReferral()
  {
    return impl.isReferral();
@@ -134,7 +121,7 @@
  public final S setCause(Throwable cause)
  public final S setCause(final Throwable cause)
      throws UnsupportedOperationException
  {
    throw new UnsupportedOperationException();
@@ -142,7 +129,7 @@
  public final S setDiagnosticMessage(String message)
  public final S setDiagnosticMessage(final String message)
      throws UnsupportedOperationException
  {
    throw new UnsupportedOperationException();
@@ -150,7 +137,7 @@
  public final S setMatchedDN(String dn)
  public final S setMatchedDN(final String dn)
      throws UnsupportedOperationException
  {
    throw new UnsupportedOperationException();
@@ -158,7 +145,7 @@
  public final S setResultCode(ResultCode resultCode)
  public final S setResultCode(final ResultCode resultCode)
      throws UnsupportedOperationException, NullPointerException
  {
    throw new UnsupportedOperationException();