diff --git a/common/src/main/java/io/netty/util/ResourceLeakDetector.java b/common/src/main/java/io/netty/util/ResourceLeakDetector.java index 190a33ec2e..3f471ecd28 100644 --- a/common/src/main/java/io/netty/util/ResourceLeakDetector.java +++ b/common/src/main/java/io/netty/util/ResourceLeakDetector.java @@ -57,7 +57,6 @@ public final class ResourceLeakDetector { /** * Returns {@code true} if resource leak detection is enabled. */ - public static boolean isEnabled() { return !disabled; }