From 3ee9cc840088762c875a9c02531077279f7c237f Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sun, 26 Aug 2018 18:18:10 +0200 Subject: [PATCH] Add missing spaces --- src/main/java/org/apache/commons/lang3/ThreadUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/ThreadUtils.java b/src/main/java/org/apache/commons/lang3/ThreadUtils.java index 55a7b22e8..1734b577b 100644 --- a/src/main/java/org/apache/commons/lang3/ThreadUtils.java +++ b/src/main/java/org/apache/commons/lang3/ThreadUtils.java @@ -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 findThreads(final ThreadPredicate predicate){ + public static Collection 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 findThreadGroups(final ThreadGroupPredicate predicate){ + public static Collection 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 findThreadGroups(final ThreadGroup group, final boolean recurse, final ThreadGroupPredicate predicate){ + public static Collection 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");