You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ahmet Arslan (JIRA)" <ji...@apache.org> on 2016/12/20 19:32:58 UTC
[jira] [Updated] (LUCENE-7599) replace TestRandomChains.Predicate
with java.util.function.Predicate
[ https://issues.apache.org/jira/browse/LUCENE-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ahmet Arslan updated LUCENE-7599:
---------------------------------
Attachment: LUCENE-7599.patch
Patch that removes {{TestRandomChains.Predicate}} in favour of {{java.util.function.Predicate}. It simplifies code with lambda expressions or method references.
> replace TestRandomChains.Predicate with java.util.function.Predicate
> --------------------------------------------------------------------
>
> Key: LUCENE-7599
> URL: https://issues.apache.org/jira/browse/LUCENE-7599
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/test
> Affects Versions: 6.3
> Reporter: Ahmet Arslan
> Priority: Trivial
> Labels: test
> Fix For: master (7.0)
>
> Attachments: LUCENE-7599.patch
>
>
> {{TestRandomChains}} has its own Predicate interface which can be replaced with {{java.util.function.Predicate}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org