Commit 2ef095f2 authored by marceteau's avatar marceteau
Browse files

refactor : nettoyage arguments inutiles

parent 71045566
......@@ -101,7 +101,7 @@ public class ArchiveConverterMain {
CommandLine commandLine = parser.parse(options, args);
parseCommandLine(options, commandLine, args);
parseCommandLine(options, commandLine);
}
/**
......@@ -125,7 +125,7 @@ public class ArchiveConverterMain {
* @param commandLine
* @throws ParseException
*/
private void parseCommandLine(Options options, CommandLine commandLine, String[] args) throws ParseException {
private void parseCommandLine(Options options, CommandLine commandLine) throws ParseException {
if(commandLine.hasOption("a")) {
agency = commandLine.getOptionValue("a") ;
} else {
......@@ -202,7 +202,7 @@ public class ArchiveConverterMain {
}
if(commandLine.hasOption("m")) {
manifestConversion(args);
manifestConversion();
} else {
try {
......@@ -251,7 +251,7 @@ public class ArchiveConverterMain {
}
private void manifestConversion(String[] args) {
private void manifestConversion() {
ManifestConverter archiveConverter = null;
File originManifest = new File(this.manifestPath.toString());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment