commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1417) Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate
Date Tue, 04 Sep 2018 09:37:00 GMT

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

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

Github user coveralls commented on the issue:

    https://github.com/apache/commons-lang/pull/351
  
    
    [![Coverage Status](https://coveralls.io/builds/18814766/badge)](https://coveralls.io/builds/18814766)
    
    Coverage remained the same at 95.253% when pulling **54f8d3c02abe04765ffe957e7d412bde2adf58c1
on britter:LANG-1417** into **3ee9cc840088762c875a9c02531077279f7c237f on apache:master**.



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

Mime
View raw message