Made sure debug mode is turned off if no, false, or 0 is specified.
This commit is contained in:
parent
5ac5611e51
commit
ff8f148990
@ -46,7 +46,14 @@ public class DebugUtil {
|
||||
value = null;
|
||||
}
|
||||
|
||||
return value != null;
|
||||
if (value == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
value = value.trim().toUpperCase();
|
||||
return !value.startsWith("N") &&
|
||||
!value.startsWith("F") &&
|
||||
!value.equals("0");
|
||||
}
|
||||
|
||||
private DebugUtil() {
|
||||
|
Loading…
Reference in New Issue
Block a user