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

refactor : nettoyage arguments inutiles

parent 71045566
...@@ -101,7 +101,7 @@ public class ArchiveConverterMain { ...@@ -101,7 +101,7 @@ public class ArchiveConverterMain {
CommandLine commandLine = parser.parse(options, args); CommandLine commandLine = parser.parse(options, args);
parseCommandLine(options, commandLine, args); parseCommandLine(options, commandLine);
} }
/** /**
...@@ -125,7 +125,7 @@ public class ArchiveConverterMain { ...@@ -125,7 +125,7 @@ public class ArchiveConverterMain {
* @param commandLine * @param commandLine
* @throws ParseException * @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")) { if(commandLine.hasOption("a")) {
agency = commandLine.getOptionValue("a") ; agency = commandLine.getOptionValue("a") ;
} else { } else {
...@@ -202,7 +202,7 @@ public class ArchiveConverterMain { ...@@ -202,7 +202,7 @@ public class ArchiveConverterMain {
} }
if(commandLine.hasOption("m")) { if(commandLine.hasOption("m")) {
manifestConversion(args); manifestConversion();
} else { } else {
try { try {
...@@ -251,7 +251,7 @@ public class ArchiveConverterMain { ...@@ -251,7 +251,7 @@ public class ArchiveConverterMain {
} }
private void manifestConversion(String[] args) { private void manifestConversion() {
ManifestConverter archiveConverter = null; ManifestConverter archiveConverter = null;
File originManifest = new File(this.manifestPath.toString()); 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