directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1588276 - /directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
Date Thu, 17 Apr 2014 15:12:58 GMT
Author: elecharny
Date: Thu Apr 17 15:12:58 2014
New Revision: 1588276

URL: http://svn.apache.org/r1588276
Log:
Removed warnings

Modified:
    directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java

Modified: directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java?rev=1588276&r1=1588275&r2=1588276&view=diff
==============================================================================
--- directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
(original)
+++ directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
Thu Apr 17 15:12:58 2014
@@ -571,7 +571,6 @@ public class ServiceBuilder
     public static Authenticator[] createAuthenticators( List<AuthenticatorBean> list
) throws ConfigurationException
     {
         Set<Authenticator> authenticators = new HashSet<Authenticator>( list.size()
);
-        int i = 0;
 
         for ( AuthenticatorBean authenticatorBean : list )
         {
@@ -1034,7 +1033,7 @@ public class ServiceBuilder
                 try
                 {
                     Class<?> extendedOpClass = Class.forName( extendedpHandlerBean.getExtendedOpHandlerClass()
);
-                    ExtendedOperationHandler extOpHandler = ( ExtendedOperationHandler )
extendedOpClass.newInstance();
+                    ExtendedOperationHandler<?, ?> extOpHandler = ( ExtendedOperationHandler<?,
?> ) extendedOpClass.newInstance();
                     ldapServer.addExtendedOperationHandler( extOpHandler );
                 }
                 catch ( Exception e )



Mime
View raw message