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/SynchronousConnection.java | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/sdk/src/org/opends/sdk/SynchronousConnection.java b/sdk/src/org/opends/sdk/SynchronousConnection.java
index b1bac79..b382b5c 100644
--- a/sdk/src/org/opends/sdk/SynchronousConnection.java
+++ b/sdk/src/org/opends/sdk/SynchronousConnection.java
@@ -39,6 +39,7 @@
import java.util.concurrent.BlockingQueue;
+
/**
* A {@code SynchronousConnection} adapts an {@code AsynchronousConnection} into
* a synchronous {@code Connection}.
@@ -361,15 +362,27 @@
}
}
+
+
/**
* {@inheritDoc}
*/
public ConnectionEntryReader search(final SearchRequest request,
- BlockingQueue<Response> entries)
- throws UnsupportedOperationException, IllegalStateException,
- NullPointerException
+ BlockingQueue<Response> entries) throws UnsupportedOperationException,
+ IllegalStateException, NullPointerException
{
- return new ConnectionEntryReader(getAsynchronousConnection(),
- request, entries);
+ return new ConnectionEntryReader(getAsynchronousConnection(), request,
+ entries);
}
+
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public String toString()
+ {
+ return connection.toString();
+ }
+
}
--
Gitblit v1.10.0