[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 replaces ArgProducer with Function > 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, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org