From 388f25a9dc58704ea19a333ba9a28054d48590b1 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 15 Dec 2009 21:58:47 +0000
Subject: [PATCH] Various changes:
---
sdk/src/org/opends/sdk/RootDSE.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sdk/src/org/opends/sdk/RootDSE.java b/sdk/src/org/opends/sdk/RootDSE.java
index 1a32f78..613a8b9 100644
--- a/sdk/src/org/opends/sdk/RootDSE.java
+++ b/sdk/src/org/opends/sdk/RootDSE.java
@@ -156,14 +156,14 @@
* @throws NullPointerException
* If the {@code connection} was {@code null}.
*/
- public static ResultFuture<RootDSE> readRootDSE(
+ public static FutureResult<RootDSE> readRootDSE(
AsynchronousConnection connection,
ResultHandler<RootDSE> handler)
throws UnsupportedOperationException, IllegalStateException,
NullPointerException
{
- final ResultTransformer<SearchResultEntry, RootDSE> future =
- new ResultTransformer<SearchResultEntry, RootDSE>(handler)
+ final FutureResultTransformer<SearchResultEntry, RootDSE> future =
+ new FutureResultTransformer<SearchResultEntry, RootDSE>(handler)
{
protected RootDSE transformResult(SearchResultEntry result)
@@ -174,9 +174,9 @@
};
- ResultFuture<SearchResultEntry> innerFuture = connection
+ FutureResult<SearchResultEntry> innerFuture = connection
.searchSingleEntry(SEARCH_REQUEST, future);
- future.setResultFuture(innerFuture);
+ future.setFutureResult(innerFuture);
return future;
}
--
Gitblit v1.10.0