Project

General

Profile

« Previous | Next » 

Revision b396b65c

Added by Andreas Müller 5 months ago

Replace deprecated GnuParser by DefaultParser

View differences:

src/main/java/eu/etaxonomy/cdm/server/Bootloader.java
43 43

  
44 44
import org.apache.commons.cli.CommandLine;
45 45
import org.apache.commons.cli.CommandLineParser;
46
import org.apache.commons.cli.GnuParser;
46
import org.apache.commons.cli.DefaultParser;
47 47
import org.apache.commons.cli.HelpFormatter;
48 48
import org.apache.commons.cli.ParseException;
49 49
import org.apache.commons.io.FileUtils;
......
170 170
    }
171 171

  
172 172
    public void parseCommandOptions(String[] args) throws ParseException {
173
        CommandLineParser parser = new GnuParser();
173
        CommandLineParser parser = new DefaultParser();
174 174

  
175 175
         cmdLine = parser.parse( CommandOptions.getOptions(), args );
176 176

  

Also available in: Unified diff