directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r808027 - /directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
Date Wed, 26 Aug 2009 14:35:55 GMT
Author: elecharny
Date: Wed Aug 26 14:35:54 2009
New Revision: 808027

URL: http://svn.apache.org/viewvc?rev=808027&view=rev
Log:
o Removed the AttributeTypeLiteral class

Modified:
    directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java

Modified: directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java?rev=808027&r1=808026&r2=808027&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
Wed Aug 26 14:35:54 2009
@@ -35,7 +35,7 @@
 import org.apache.directory.server.schema.bootstrap.BootstrapSchema;
 import org.apache.directory.server.schema.bootstrap.ProducerTypeEnum;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
-import org.apache.directory.shared.ldap.schema.parsers.AttributeTypeLiteral;
+import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.parsers.ObjectClassLiteral;
 import org.apache.directory.shared.ldap.schema.parsers.OpenLdapSchemaParser;
 import org.apache.maven.plugin.AbstractMojo;
@@ -232,8 +232,8 @@
         }
 
         int size = parser.getAttributeTypes().size();
-        AttributeTypeLiteral[] attributeTypes = new AttributeTypeLiteral[size];
-        attributeTypes = ( AttributeTypeLiteral[] ) parser.getAttributeTypes().toArray( attributeTypes
);
+        AttributeType[] attributeTypes = new AttributeType[size];
+        attributeTypes = ( AttributeType[] ) parser.getAttributeTypes().toArray( attributeTypes
);
 
         VelocityContext context = new VelocityContext();
         context.put( "package", schema.getPackageName() );



Mime
View raw message