Revert "ThreadGroupPredicate extends Predicate<ThreadGroup>"
This reverts commit 6cd7bd5ed9
.
This commit is contained in:
parent
6cd7bd5ed9
commit
4dd0a6b4a6
|
@ -168,7 +168,6 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add Streams.of(Iterable<E>).</action>
|
||||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add Streams.of(Iterator<E>).</action>
|
||||
<action issue="LANG-1689" type="add" dev="ggregory" due-to="Joseph Hendrix, Gary Gregory">Simple support for Optional in ObjectUtils#isEmpty() #933.</action>
|
||||
<action type="add" dev="ggregory" due-to="Gary Gregory">ThreadGroupPredicate extends Predicate<ThreadGroup>.</action>
|
||||
<!-- UPDATE -->
|
||||
<action type="update" dev="ggregory" due-to="Dependabot, XenoAmess, Gary Gregory">Bump actions/cache from 2.1.4 to 3.0.7 #742, #752, #764, #833, #867.</action>
|
||||
<action type="update" dev="ggregory" due-to="Dependabot">Bump actions/checkout from 2 to 3 #819, #825, #859.</action>
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.ArrayList;
|
|||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import org.apache.commons.lang3.time.DurationUtils;
|
||||
|
||||
|
@ -90,16 +89,15 @@ public class ThreadUtils {
|
|||
/**
|
||||
* A predicate for selecting thread groups.
|
||||
*/
|
||||
// TODO When breaking BC, replace this with Predicate<ThreadGroup>
|
||||
// When breaking BC, replace this with Predicate<ThreadGroup>
|
||||
@FunctionalInterface
|
||||
public interface ThreadGroupPredicate extends Predicate<ThreadGroup> {
|
||||
public interface ThreadGroupPredicate {
|
||||
|
||||
/**
|
||||
* Evaluates this predicate on the given thread group.
|
||||
* @param threadGroup the thread group
|
||||
* @return {@code true} if the threadGroup matches the predicate, otherwise {@code false}
|
||||
*/
|
||||
@Override
|
||||
boolean test(ThreadGroup threadGroup);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue