You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2018/09/04 09:39:01 UTC
[jira] [Resolved] (LANG-1417) Add @FunctionalInterface to
ThreadPredicate and ThreadGroupPredicate
[ https://issues.apache.org/jira/browse/LANG-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter resolved LANG-1417.
-----------------------------------
Resolution: Fixed
Assignee: Benedikt Ritter
Fixed in 3e44d26342654c8b2d8caba924ff468dd0e6e700
> Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate
> --------------------------------------------------------------------
>
> Key: LANG-1417
> URL: https://issues.apache.org/jira/browse/LANG-1417
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Priority: Major
> Fix For: 3.9
>
>
> Since we upgraded the Java language requirement to Java 8, we can add the @FunctionalInterface annotation to ThreadGroupPredicate and ThreadPredicate.
>
> Our initial plan of letting ThreadGroupPredicate and ThreadPredicate inherit vom Predicate is not possible since we have implementations that would then inherit from both Predicate<Thread> and Predicate<ThreadGroup> which is not possible.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)