directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r575345 - in /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap: ExtendedOperationHandler.java LdapConfiguration.java support/SearchHandler.java
Date Thu, 13 Sep 2007 16:04:47 GMT
Author: elecharny
Date: Thu Sep 13 09:04:46 2007
New Revision: 575345

URL: http://svn.apache.org/viewvc?rev=575345&view=rev
Log:
Removed warnings by using generics, cleaning the antlr .g files from useless imports, removed
useless casts.

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/ExtendedOperationHandler.java
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapConfiguration.java
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/ExtendedOperationHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/ExtendedOperationHandler.java?rev=575345&r1=575344&r2=575345&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/ExtendedOperationHandler.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/ExtendedOperationHandler.java
Thu Sep 13 09:04:46 2007
@@ -49,7 +49,7 @@
      * 
      * @return the OIDs supported by this handler.
      */
-    Set getExtensionOids();
+    Set<String> getExtensionOids();
 
 
     /**

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapConfiguration.java?rev=575345&r1=575344&r2=575345&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapConfiguration.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapConfiguration.java
Thu Sep 13 09:04:46 2007
@@ -264,7 +264,7 @@
      *
      * @return A collection of {@link ExtendedOperationHandler}s.
      */
-    public Collection getExtendedOperationHandlers()
+    public Collection<ExtendedOperationHandler> getExtendedOperationHandlers()
     {
         return new ArrayList<ExtendedOperationHandler>( extendedOperationHandlers );
     }

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java?rev=575345&r1=575344&r2=575345&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
Thu Sep 13 09:04:46 2007
@@ -168,11 +168,11 @@
         if ( retAttrs.size() > 0 && !retAttrs.contains( SchemaConstants.REF_AT
) )
         {
             retAttrs.add( SchemaConstants.REF_AT );
-            ids = ( String[] ) retAttrs.toArray( ArrayUtils.EMPTY_STRING_ARRAY );
+            ids = retAttrs.toArray( ArrayUtils.EMPTY_STRING_ARRAY );
         }
         else if ( retAttrs.size() > 0 )
         {
-            ids = ( String[] ) retAttrs.toArray( ArrayUtils.EMPTY_STRING_ARRAY );
+            ids = retAttrs.toArray( ArrayUtils.EMPTY_STRING_ARRAY );
         }
 
         try



Mime
View raw message