directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r542341 - /directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
Date Mon, 28 May 2007 22:04:17 GMT
Author: erodriguez
Date: Mon May 28 15:04:16 2007
New Revision: 542341

URL: http://svn.apache.org/viewvc?view=rev&rev=542341
Log:
Warnings clean-up, unnecessary casts.

Modified:
    directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java

Modified: directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java?view=diff&rev=542341&r1=542340&r2=542341
==============================================================================
--- directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
(original)
+++ directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
Mon May 28 15:04:16 2007
@@ -133,7 +133,7 @@
     public final void loadWithDependencies( Collection<Schema> bootstrapSchemas, Registries
registries ) throws NamingException
     {
         BootstrapSchema[] schemas = new BootstrapSchema[bootstrapSchemas.size()];
-        schemas = ( BootstrapSchema[] ) bootstrapSchemas.toArray( schemas );
+        schemas = bootstrapSchemas.toArray( schemas );
         HashMap<String,Schema> loaded = new HashMap<String,Schema>();
         HashMap<String,Schema> notLoaded = new HashMap<String,Schema>();
 



Mime
View raw message