Fix typo, thanks @hugmanrique for spotting this

This commit is contained in:
Andrew Steinborn
2020-07-21 11:52:31 -04:00
parent e32acbaae7
commit 250a35e53b

View File

@@ -34,7 +34,7 @@ public class Velocity {
// Disable the resource leak detector by default as it reduces performance. Allow the user to
// override this if desired.
if (System.getProperty("io.netty.leakDetection.level") != null) {
if (System.getProperty("io.netty.leakDetection.level") == null) {
ResourceLeakDetector.setLevel(Level.DISABLED);
}
}