From 6bef18d19414f3680165472e37dc4444da765f13 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 11 Jan 2010 14:23:49 +0000
Subject: [PATCH] Fix SDK issue 4421: Remove generic AsynchronousConnection parameter from ConnectionFactory.

---
 sdk/src/org/opends/sdk/ldap/LDAPConnectionFactory.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sdk/src/org/opends/sdk/ldap/LDAPConnectionFactory.java b/sdk/src/org/opends/sdk/ldap/LDAPConnectionFactory.java
index 3a66ba8..0c81b73 100644
--- a/sdk/src/org/opends/sdk/ldap/LDAPConnectionFactory.java
+++ b/sdk/src/org/opends/sdk/ldap/LDAPConnectionFactory.java
@@ -37,8 +37,7 @@
 /**
  * LDAP connection factory implementation.
  */
-public final class LDAPConnectionFactory implements
-    ConnectionFactory<AsynchronousConnection>
+public final class LDAPConnectionFactory implements ConnectionFactory
 {
   // We implement the factory using the pimpl idiom in order have
   // cleaner Javadoc which does not expose implementation methods from
@@ -115,7 +114,7 @@
 
 
   public FutureResult<AsynchronousConnection> getAsynchronousConnection(
-      ResultHandler<? super AsynchronousConnection> handler)
+      ResultHandler<AsynchronousConnection> handler)
   {
     return impl.getAsynchronousConnection(handler);
   }

--
Gitblit v1.10.0