You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2007/05/29 00:04:17 UTC
svn commit: r542341 -
/directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
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>();