Fixed a warning

This commit is contained in:
493msi 2020-09-20 14:51:00 +02:00
parent 51da238989
commit ee8683c037
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ package cz.tefek.pluto;
*/
public class Pluto
{
public static final boolean DEBUG_MODE = Boolean.valueOf(System.getProperty("cz.tefek.pluto.debug"));
public static final boolean DEBUG_MODE = Boolean.parseBoolean(System.getProperty("cz.tefek.pluto.debug"));
// TODO: Automate setting the version numbers with gradle