From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.

---
 sdk/src/org/opends/sdk/responses/SearchResultReferenceImpl.java |   49 +++++++++----------------------------------------
 1 files changed, 9 insertions(+), 40 deletions(-)

diff --git a/sdk/src/org/opends/sdk/responses/SearchResultReferenceImpl.java b/sdk/src/org/opends/sdk/responses/SearchResultReferenceImpl.java
index 204ef9c..abb900e 100644
--- a/sdk/src/org/opends/sdk/responses/SearchResultReferenceImpl.java
+++ b/sdk/src/org/opends/sdk/responses/SearchResultReferenceImpl.java
@@ -49,16 +49,16 @@
 
 
   /**
-   * Creates a new search result reference using the provided
-   * continuation reference URI.
-   * 
+   * Creates a new search result reference using the provided continuation
+   * reference URI.
+   *
    * @param uri
-   *          The first continuation reference URI to be added to this
-   *          search result reference.
+   *          The first continuation reference URI to be added to this search
+   *          result reference.
    * @throws NullPointerException
    *           If {@code uri} was {@code null}.
    */
-  SearchResultReferenceImpl(String uri) throws NullPointerException
+  SearchResultReferenceImpl(final String uri) throws NullPointerException
   {
     addURI(uri);
   }
@@ -68,7 +68,7 @@
   /**
    * {@inheritDoc}
    */
-  public SearchResultReference addURI(String uri)
+  public SearchResultReference addURI(final String uri)
       throws UnsupportedOperationException, NullPointerException
   {
     Validator.ensureNotNull(uri);
@@ -81,29 +81,7 @@
   /**
    * {@inheritDoc}
    */
-  public SearchResultReference clearURIs()
-      throws UnsupportedOperationException
-  {
-    uris.clear();
-    return this;
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
-  public int getURICount()
-  {
-    return uris.size();
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
-  public Iterable<String> getURIs()
+  public List<String> getURIs()
   {
     return uris;
   }
@@ -113,16 +91,6 @@
   /**
    * {@inheritDoc}
    */
-  public boolean hasURIs()
-  {
-    return !uris.isEmpty();
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
   @Override
   public String toString()
   {
@@ -137,6 +105,7 @@
 
 
 
+  @Override
   SearchResultReference getThis()
   {
     return this;

--
Gitblit v1.10.0