cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r601035 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/Ordering.java
Date Tue, 04 Dec 2007 18:50:22 GMT
Author: kmenard
Date: Tue Dec  4 10:50:21 2007
New Revision: 601035

URL: http://svn.apache.org/viewvc?rev=601035&view=rev
Log:
Generic fix.

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

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/Ordering.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/Ordering.java?rev=601035&r1=601034&r2=601035&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/Ordering.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/Ordering.java
Tue Dec  4 10:50:21 2007
@@ -68,7 +68,7 @@
      * is more significant than any other Ordering with higher index. List being ordered
is
      * modified in place.
      */
-    public static void orderList(List<Object> objects, List<Comparator<Object>>
orderings) {
+    public static void orderList(List<?> objects, List<Comparator<Object>>
orderings) {
         Collections.sort(objects, ComparatorUtils.chainedComparator(orderings));
     }
 
@@ -206,7 +206,7 @@
      * 
      * @param objects a List of objects to be sorted
      */
-    public void orderList(List<Object> objects) {
+    public void orderList(List<?> objects) {
         Collections.sort(objects, this);
     }
 



Mime
View raw message