Add missing spaces

This commit is contained in:
Benedikt Ritter 2018-08-26 18:18:10 +02:00
parent bff752134b
commit 3ee9cc8400
No known key found for this signature in database
GPG Key ID: 9DAADC1C9FCC82D0
1 changed files with 4 additions and 4 deletions

View File

@ -272,7 +272,7 @@ public class ThreadUtils {
/**
* A predicate implementation which always returns true.
*/
private static final class AlwaysTruePredicate implements ThreadPredicate, ThreadGroupPredicate{
private static final class AlwaysTruePredicate implements ThreadPredicate, ThreadGroupPredicate {
private AlwaysTruePredicate() {
}
@ -357,7 +357,7 @@ public class ThreadUtils {
* @throws SecurityException if the current thread cannot modify
* thread groups from this thread's thread group up to the system thread group
*/
public static Collection<Thread> findThreads(final ThreadPredicate predicate){
public static Collection<Thread> findThreads(final ThreadPredicate predicate) {
return findThreads(getSystemThreadGroup(), true, predicate);
}
@ -372,7 +372,7 @@ public class ThreadUtils {
* @throws SecurityException if the current thread cannot modify
* thread groups from this thread's thread group up to the system thread group
*/
public static Collection<ThreadGroup> findThreadGroups(final ThreadGroupPredicate predicate){
public static Collection<ThreadGroup> findThreadGroups(final ThreadGroupPredicate predicate) {
return findThreadGroups(getSystemThreadGroup(), true, predicate);
}
@ -419,7 +419,7 @@ public class ThreadUtils {
* @throws SecurityException if the current thread cannot modify
* thread groups from this thread's thread group up to the system thread group
*/
public static Collection<ThreadGroup> findThreadGroups(final ThreadGroup group, final boolean recurse, final ThreadGroupPredicate predicate){
public static Collection<ThreadGroup> findThreadGroups(final ThreadGroup group, final boolean recurse, final ThreadGroupPredicate predicate) {
Validate.isTrue(group != null, "The group must not be null");
Validate.isTrue(predicate != null, "The predicate must not be null");