You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/03/30 13:24:57 UTC
svn commit: r929088 [3/5] - in
/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api:
./ listener/
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 );
}