From 4039d5a4652098e59a2eb14f6b2557235e993ab8 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 04 Dec 2009 17:04:27 +0000
Subject: [PATCH] Remove API references to com.sun.opends.* classes from public API (except I18 related classes). Remove ordinals from messages as they are not needed in SDK. Make some exception constructors package private.

---
 sdk/src/org/opends/sdk/AbstractAttribute.java |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/sdk/src/org/opends/sdk/AbstractAttribute.java b/sdk/src/org/opends/sdk/AbstractAttribute.java
index f903c3e..47f1a1f 100644
--- a/sdk/src/org/opends/sdk/AbstractAttribute.java
+++ b/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();

--
Gitblit v1.10.0