Merge branch 'LANG-1417'
This commit is contained in:
commit
3e44d26342
|
@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<body>
|
||||
|
||||
<release version="3.9" date="????-??-??" description="??">
|
||||
<action issue="LANG-1417" type="update" dev="britter">Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate</action>
|
||||
<action issue="LANG-1415" type="update" dev="britter">Update Java Language requirement to 1.8</action>
|
||||
<action issue="LANG-1411" type="add" dev="britter" due-to="Alexander Tsvetkov">Add isEmpty method to ObjectUtils</action>
|
||||
</release>
|
||||
|
|
|
@ -239,8 +239,9 @@ public class ThreadUtils {
|
|||
/**
|
||||
* A predicate for selecting threads.
|
||||
*/
|
||||
//if java minimal version for lang becomes 1.8 extend this interface from java.util.function.Predicate
|
||||
public interface ThreadPredicate /*extends java.util.function.Predicate<Thread>*/{
|
||||
// When breaking BC, replace this with Predicate<Thread>
|
||||
@FunctionalInterface
|
||||
public interface ThreadPredicate {
|
||||
|
||||
/**
|
||||
* Evaluates this predicate on the given thread.
|
||||
|
@ -253,8 +254,9 @@ public class ThreadUtils {
|
|||
/**
|
||||
* A predicate for selecting threadgroups.
|
||||
*/
|
||||
//if java minimal version for lang becomes 1.8 extend this interface from java.util.function.Predicate
|
||||
public interface ThreadGroupPredicate /*extends java.util.function.Predicate<ThreadGroup>*/{
|
||||
// When breaking BC, replace this with Predicate<ThreadGroup>
|
||||
@FunctionalInterface
|
||||
public interface ThreadGroupPredicate {
|
||||
|
||||
/**
|
||||
* Evaluates this predicate on the given threadgroup.
|
||||
|
|
Loading…
Reference in New Issue