cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r632291 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java
Date Fri, 29 Feb 2008 10:42:57 GMT
Author: aadamchik
Date: Fri Feb 29 02:42:53 2008
New Revision: 632291

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

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

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java?rev=632291&r1=632290&r2=632291&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataContext.java
Fri Feb 29 02:42:53 2008
@@ -656,7 +656,7 @@
      * @see DataRow
      */
     public List objectsFromDataRows(
-            Class objectClass,
+            Class<?> objectClass,
             List<? extends DataRow> dataRows,
             boolean refresh,
             boolean resolveInheritanceHierarchy) {
@@ -676,10 +676,10 @@
      * @see DataRow
      */
     public DataObject objectFromDataRow(
-            Class objectClass,
+            Class<?> objectClass,
             DataRow dataRow,
             boolean refresh) {
-        List list = objectsFromDataRows(
+        List<?> list = objectsFromDataRows(
                 objectClass,
                 Collections.singletonList(dataRow),
                 refresh,
@@ -701,7 +701,7 @@
 
         ObjEntity entity = getEntityResolver().getObjEntity(entityName);
 
-        List list = objectsFromDataRows(
+        List<?> list = objectsFromDataRows(
                 entity,
                 Collections.singletonList(dataRow),
                 refresh,



Mime
View raw message