From 2bc8d15a28fafab97cefafede06d6b7e738ae0fe Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 11 Dec 2009 18:45:45 +0000
Subject: [PATCH] Various incremental improvements.
---
sdk/src/org/opends/sdk/ResultHandler.java | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/sdk/src/org/opends/sdk/ResultHandler.java b/sdk/src/org/opends/sdk/ResultHandler.java
index 8433352..84d638b 100644
--- a/sdk/src/org/opends/sdk/ResultHandler.java
+++ b/sdk/src/org/opends/sdk/ResultHandler.java
@@ -27,12 +27,6 @@
package org.opends.sdk;
-
-
-import org.opends.sdk.responses.Result;
-
-
-
/**
* A completion handler for consuming the result of an asynchronous
* operation.
@@ -46,7 +40,7 @@
* Implementations of these methods should complete in a timely manner
* so as to avoid keeping the invoking thread from dispatching to other
* completion handlers.
- *
+ *
* @param <S>
* The type of result handled by this result handler.
* @param <P>
@@ -54,11 +48,11 @@
* methods. Use {@link java.lang.Void} for visitors that do not
* need an additional parameter.
*/
-public interface ResultHandler<S extends Result, P>
+public interface ResultHandler<S, P>
{
/**
* Invoked when the asynchronous operation has failed.
- *
+ *
* @param p
* A handler specified parameter.
* @param error
@@ -71,7 +65,7 @@
/**
* Invoked when the asynchronous operation has completed successfully.
- *
+ *
* @param p
* A handler specified parameter.
* @param result
--
Gitblit v1.10.0