You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/04/13 21:16:52 UTC
svn commit: r528607 -
/directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/BootstrapSchemaLoader.java
Author: elecharny
Date: Fri Apr 13 12:16:51 2007
New Revision: 528607
URL: http://svn.apache.org/viewvc?view=rev&rev=528607
Log:
removed a useless cast
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=528607&r1=528606&r2=528607
==============================================================================
--- 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 Fri Apr 13 12:16:51 2007
@@ -210,7 +210,7 @@
*/
private void register( ProducerTypeEnum type, String id, Object schemaObject ) throws NamingException
{
- BootstrapSchema schema = ( BootstrapSchema ) this.schemas.get();
+ BootstrapSchema schema = this.schemas.get();
DefaultRegistries registries = ( DefaultRegistries ) this.registries.get();
List<String> values = new ArrayList<String>(1);
values.add( schema.getSchemaName() );