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

matthew_swift
04.04.2009 4039d5a4652098e59a2eb14f6b2557235e993ab8
sdk/src/org/opends/sdk/AbstractAttribute.java
@@ -34,7 +34,6 @@
import org.opends.sdk.schema.AttributeType;
import org.opends.sdk.schema.MatchingRule;
import com.sun.opends.sdk.util.Function;
import com.sun.opends.sdk.util.Validator;
@@ -302,30 +301,6 @@
  /**
   * {@inheritDoc}
   */
  public <T> T firstValueAsObject(
      Function<? super ByteString, T, Void> type)
      throws NoSuchElementException
  {
    return type.apply(firstValue(), null);
  }
  /**
   * {@inheritDoc}
   */
  public <T, P> T firstValueAsObject(
      Function<? super ByteString, T, P> type, P p)
      throws NoSuchElementException
  {
    return type.apply(firstValue(), p);
  }
  /**
   * {@inheritDoc}
   */
  public String firstValueAsString() throws NoSuchElementException
  {
    return firstValue().toString();