@@ -272,7 +272,7 @@ public interface ThreadGroupPredicate /*extends java.util.function.Predicate<Thr
272
272
/**
273
273
* A predicate implementation which always returns true.
274
274
*/
275
- private static final class AlwaysTruePredicate implements ThreadPredicate , ThreadGroupPredicate {
275
+ private static final class AlwaysTruePredicate implements ThreadPredicate , ThreadGroupPredicate {
276
276
277
277
private AlwaysTruePredicate () {
278
278
}
@@ -357,7 +357,7 @@ public boolean test(final Thread thread) {
357
357
* @throws SecurityException if the current thread cannot modify
358
358
* thread groups from this thread's thread group up to the system thread group
359
359
*/
360
- public static Collection <Thread > findThreads (final ThreadPredicate predicate ){
360
+ public static Collection <Thread > findThreads (final ThreadPredicate predicate ) {
361
361
return findThreads (getSystemThreadGroup (), true , predicate );
362
362
}
363
363
@@ -372,7 +372,7 @@ public static Collection<Thread> findThreads(final ThreadPredicate predicate){
372
372
* @throws SecurityException if the current thread cannot modify
373
373
* thread groups from this thread's thread group up to the system thread group
374
374
*/
375
- public static Collection <ThreadGroup > findThreadGroups (final ThreadGroupPredicate predicate ){
375
+ public static Collection <ThreadGroup > findThreadGroups (final ThreadGroupPredicate predicate ) {
376
376
return findThreadGroups (getSystemThreadGroup (), true , predicate );
377
377
}
378
378
@@ -419,7 +419,7 @@ public static Collection<Thread> findThreads(final ThreadGroup group, final bool
419
419
* @throws SecurityException if the current thread cannot modify
420
420
* thread groups from this thread's thread group up to the system thread group
421
421
*/
422
- public static Collection <ThreadGroup > findThreadGroups (final ThreadGroup group , final boolean recurse , final ThreadGroupPredicate predicate ){
422
+ public static Collection <ThreadGroup > findThreadGroups (final ThreadGroup group , final boolean recurse , final ThreadGroupPredicate predicate ) {
423
423
Validate .isTrue (group != null , "The group must not be null" );
424
424
Validate .isTrue (predicate != null , "The predicate must not be null" );
425
425
0 commit comments