You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/10/13 00:24:19 UTC
[groovy] 01/02: GROOVY-8258: trivial refactoring
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY-8258
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit d6958676427df74cfe17f9815e655fd6a9d60ebb
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue Oct 13 07:36:20 2020 +0800
GROOVY-8258: trivial refactoring
---
.../org/apache/groovy/linq/provider/collection/QueryableCollection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-linq/src/main/groovy/org/apache/groovy/linq/provider/collection/QueryableCollection.java b/subprojects/groovy-linq/src/main/groovy/org/apache/groovy/linq/provider/collection/QueryableCollection.java
index 101b1f3..476c0d3 100644
--- a/subprojects/groovy-linq/src/main/groovy/org/apache/groovy/linq/provider/collection/QueryableCollection.java
+++ b/subprojects/groovy-linq/src/main/groovy/org/apache/groovy/linq/provider/collection/QueryableCollection.java
@@ -100,7 +100,7 @@ class QueryableCollection<T> implements Queryable<T>, Iterable<T> {
@Override
public Queryable<T> where(Predicate<? super T> filter) {
- Stream<T> stream = this.stream().filter(filter::test);
+ Stream<T> stream = this.stream().filter(filter);
return from(stream);
}