[Minor] Fixed deprecation in MainStarter

This commit is contained in:
Robert von Burg 2017-05-18 15:02:58 +02:00
parent 78edd08f80
commit d5514e772c
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
@ -119,7 +119,7 @@ public class MainStarter {
public int parseArgs(String[] args) {
// create the parser
CommandLineParser parser = new GnuParser();
CommandLineParser parser = new DefaultParser();
CommandLine line;
try {
// parse the command line arguments