Give sense to `isCommandLine()` method

This commit is contained in:
Cristian Maglie 2016-11-07 16:48:48 +01:00
parent b73bc92a5c
commit fedc2b6cd2
1 changed files with 1 additions and 6 deletions

View File

@ -161,12 +161,6 @@ public class Base {
}
static protected void setCommandLine() {
commandLine = true;
}
static protected boolean isCommandLine() {
return commandLine;
}
@ -199,6 +193,7 @@ public class Base {
CommandlineParser parser = new CommandlineParser(args);
parser.parseArgumentsPhase1();
commandLine = !parser.isGuiMode();
SplashScreenHelper splash;
if (parser.isGuiMode()) {