directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r763447 - /directory/apacheds/branches/ldif-partition/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
Date Wed, 08 Apr 2009 23:02:15 GMT
Author: akarasulu
Date: Wed Apr  8 23:02:15 2009
New Revision: 763447

URL: http://svn.apache.org/viewvc?rev=763447&view=rev
Log:
remove generics warnings

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

Modified: directory/apacheds/branches/ldif-partition/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java?rev=763447&r1=763446&r2=763447&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
(original)
+++ directory/apacheds/branches/ldif-partition/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/DirectorySchemaToolMojo.java
Wed Apr  8 23:02:15 2009
@@ -148,7 +148,7 @@
 
     protected void generateRest( BootstrapSchema schema ) throws Exception
     {
-        List types = new ArrayList();
+        List<ProducerTypeEnum> types = new ArrayList<ProducerTypeEnum>();
         types.addAll( ProducerTypeEnum.getList() );
         types.remove( ProducerTypeEnum.ATTRIBUTE_TYPE_PRODUCER );
         types.remove( ProducerTypeEnum.OBJECT_CLASS_PRODUCER );



Mime
View raw message