directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r929088 [3/5] - in /directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api: ./ listener/
Date Tue, 30 Mar 2010 11:24:57 GMT
Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionPool.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionPool.java?rev=929088&r1=929087&r2=929088&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionPool.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionPool.java
Tue Mar 30 11:24:56 2010
@@ -68,9 +68,9 @@ public class LdapConnectionPool extends 
      * @return an LdapConnection object from pool 
      * @throws Exception
      */
-    public LdapConnection getConnection() throws Exception
+    public LdapNetworkConnection getConnection() throws Exception
     {
-        return ( LdapConnection ) super.borrowObject();
+        return ( LdapNetworkConnection ) super.borrowObject();
     }
 
 
@@ -80,7 +80,7 @@ public class LdapConnectionPool extends 
      * @param connection the LdapConnection to be released
      * @throws Exception
      */
-    public void releaseConnection( LdapConnection connection ) throws Exception
+    public void releaseConnection( LdapNetworkConnection connection ) throws Exception
     {
         super.returnObject( connection );
     }



Mime
View raw message