cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r600284 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java
Date Sun, 02 Dec 2007 13:16:16 GMT
Author: aadamchik
Date: Sun Dec  2 05:16:16 2007
New Revision: 600284

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

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java?rev=600284&r1=600283&r2=600284&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/gen/DefaultClassGenerator.java
Sun Dec  2 05:16:16 2007
@@ -65,14 +65,14 @@
      * generation of classes for all ObjEntities in the DataMap.
      */
     public DefaultClassGenerator(DataMap dataMap) {
-        this(dataMap, new ArrayList(dataMap.getObjEntities()));
+        this(dataMap, new ArrayList<ObjEntity>(dataMap.getObjEntities()));
     }
 
     /**
      * Creates class generator and initializes it with the list of ObjEntities that will
      * be used in class generation.
      */
-    public DefaultClassGenerator(DataMap dataMap, List selectedObjEntities) {
+    public DefaultClassGenerator(DataMap dataMap, List<ObjEntity> selectedObjEntities)
{
         super(dataMap, selectedObjEntities);
     }
 



Mime
View raw message