From 4021f3c244ef8ef5880d71c9c380523608782250 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 5 Jun 2019 13:04:46 +0100 Subject: [PATCH] fix jullog --- core/src/main/groovy/com/muwire/core/util/JULLog.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/groovy/com/muwire/core/util/JULLog.groovy b/core/src/main/groovy/com/muwire/core/util/JULLog.groovy index facaefbc..81764603 100644 --- a/core/src/main/groovy/com/muwire/core/util/JULLog.groovy +++ b/core/src/main/groovy/com/muwire/core/util/JULLog.groovy @@ -55,21 +55,21 @@ class JULLog extends Log { @Override public boolean shouldDebug() { - level.intValue().intValue() >= Level.FINE.intValue() + level.intValue().intValue() <= Level.FINE.intValue() } @Override public boolean shouldInfo() { - level.intValue().intValue() >= Level.INFO.intValue() + level.intValue().intValue() <= Level.INFO.intValue() } @Override public boolean shouldWarn() { - level.intValue().intValue() >= Level.WARNING.intValue() + level.intValue().intValue() <= Level.WARNING.intValue() } @Override public boolean shouldError() { - level.intValue().intValue() >= Level.SEVERE.intValue() + level.intValue().intValue() <= Level.SEVERE.intValue() } }