From 72650d4cc41c64136d064967d7fec3726d850fee Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 14 Oct 2010 11:52:28 +0000
Subject: [PATCH] Multiple enhancements and bug fixes to the SDK (update from OpenDS by matthew_swift):

---
 sdk/src/org/opends/sdk/AbstractAsynchronousConnection.java |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/sdk/src/org/opends/sdk/AbstractAsynchronousConnection.java b/sdk/src/org/opends/sdk/AbstractAsynchronousConnection.java
index 56ec077..685567d 100644
--- a/sdk/src/org/opends/sdk/AbstractAsynchronousConnection.java
+++ b/sdk/src/org/opends/sdk/AbstractAsynchronousConnection.java
@@ -44,8 +44,8 @@
 
 
 /**
- * This class provides a skeletal implementation of the {@code
- * AsynchronousConnection} interface, to minimize the effort required to
+ * This class provides a skeletal implementation of the
+ * {@code AsynchronousConnection} interface, to minimize the effort required to
  * implement this interface.
  */
 public abstract class AbstractAsynchronousConnection implements
@@ -394,9 +394,8 @@
    * {@inheritDoc}
    */
   public FutureResult<Result> search(final SearchRequest request,
-      final SearchResultHandler handler)
-      throws UnsupportedOperationException, IllegalStateException,
-      NullPointerException
+      final SearchResultHandler handler) throws UnsupportedOperationException,
+      IllegalStateException, NullPointerException
   {
     return search(request, handler, null);
   }
@@ -417,4 +416,15 @@
     innerFuture.setResultFuture(future);
     return innerFuture;
   }
+
+
+
+  /**
+   * {@inheritDoc}
+   * <p>
+   * Sub-classes should provide an implementation which returns an appropriate
+   * description of the connection which may be used for debugging purposes.
+   */
+  public abstract String toString();
+
 }

--
Gitblit v1.10.0