directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r937344 - in /directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api: LdapConnectionFactory.java LdapNetworkConnection.java
Date Fri, 23 Apr 2010 15:44:57 GMT
Author: elecharny
Date: Fri Apr 23 15:44:57 2010
New Revision: 937344

URL: http://svn.apache.org/viewvc?rev=937344&view=rev
Log:
Fixed some warnings (generic)

Modified:
    directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionFactory.java
    directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionFactory.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionFactory.java?rev=937344&r1=937343&r2=937344&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionFactory.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionFactory.java
Fri Apr 23 15:44:57 2010
@@ -35,7 +35,7 @@ public class LdapConnectionFactory
     {
         try
         {
-            Class cl = Class.forName( "org.apache.directory.server.core.LdapCoreSessionConnection"
);
+            Class<?> cl = Class.forName( "org.apache.directory.server.core.LdapCoreSessionConnection"
);
             return ( LdapConnection ) cl.newInstance();
         }
         catch( Exception e )
@@ -52,7 +52,7 @@ public class LdapConnectionFactory
     {
         try
         {
-            Class cl = Class.forName( "org.apache.directory.ldap.client.api.LdapNetworkConnection"
);
+            Class<?> cl = Class.forName( "org.apache.directory.ldap.client.api.LdapNetworkConnection"
);
             
             LdapAsyncConnection networkConnection = ( LdapAsyncConnection ) cl.newInstance();
             networkConnection.getConfig().setLdapHost( host );

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java?rev=937344&r1=937343&r2=937344&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Fri Apr 23 15:44:57 2010
@@ -918,7 +918,7 @@ public class LdapNetworkConnection exten
         // remove the associated listener if any 
         int abandonId = abandonRequest.getAbandonedMessageId();
 
-        ResponseFuture rf = getFromFutureMap( abandonId );
+        ResponseFuture<? extends Response> rf = getFromFutureMap( abandonId );
 
         // if the listener is not null, this is a async operation and no need to
         // send cancel signal on future, sending so will leave a dangling poision object
in the corresponding queue



Mime
View raw message