cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnth...@apache.org
Subject svn commit: r1530444 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java
Date Tue, 08 Oct 2013 22:01:32 GMT
Author: johnthuss
Date: Tue Oct  8 22:01:31 2013
New Revision: 1530444

URL: http://svn.apache.org/r1530444
Log:
Relax type on Expression.filterObjects parameter (allow Collection)

Modified:
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java?rev=1530444&r1=1530443&r2=1530444&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/exp/Expression.java
Tue Oct  8 22:01:31 2013
@@ -487,7 +487,7 @@ public abstract class Expression impleme
     /**
      * Returns a list of objects that match the expression.
      */
-    public <T> List<T> filterObjects(List<T> objects) {
+    public <T> List<T> filterObjects(Collection<T> objects) {
         if (objects == null || objects.size() == 0) {
             return Collections.EMPTY_LIST;
         }



Mime
View raw message