We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cecf29 commit dea5b95Copy full SHA for dea5b95
logback-core/src/main/java/ch/qos/logback/core/util/ReentryGuardFactory.java
@@ -14,8 +14,6 @@
14
15
package ch.qos.logback.core.util;
16
17
-import java.util.Objects;
18
-
19
/**
20
* Factory that creates {@link ReentryGuard} instances according to a requested type.
21
*
@@ -56,7 +54,6 @@ public enum GuardType {
56
54
* @since 1.5.21
57
55
*/
58
public static ReentryGuard makeGuard(GuardType guardType) {
59
- Objects.requireNonNull(guardType, "guardType must not be null");
60
switch (guardType) {
61
case THREAD_LOCAL:
62
return new ReentryGuard.ReentryGuardImpl();
0 commit comments