Skip to content

Commit dea5b95

Browse files
committed
minor - remove superflous call to Objects.requireNonNull
Signed-off-by: ceki <ceki@qos.ch>
1 parent 3cecf29 commit dea5b95

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

logback-core/src/main/java/ch/qos/logback/core/util/ReentryGuardFactory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
package ch.qos.logback.core.util;
1616

17-
import java.util.Objects;
18-
1917
/**
2018
* Factory that creates {@link ReentryGuard} instances according to a requested type.
2119
*
@@ -56,7 +54,6 @@ public enum GuardType {
5654
* @since 1.5.21
5755
*/
5856
public static ReentryGuard makeGuard(GuardType guardType) {
59-
Objects.requireNonNull(guardType, "guardType must not be null");
6057
switch (guardType) {
6158
case THREAD_LOCAL:
6259
return new ReentryGuard.ReentryGuardImpl();

0 commit comments

Comments
 (0)