[ 
https://issues.apache.org/jira/browse/LANG-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16602824#comment-16602824
 ] 

ASF GitHub Bot commented on LANG-1417:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/commons-lang/pull/351


> 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
>            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)

Reply via email to