Commit 71045566 authored by marceteau's avatar marceteau
Browse files

refactor rapide : retrait argument inutile

parent c914ccae
......@@ -87,7 +87,7 @@ public class ArchiveConverterMain {
*/
public static void main(String[] args) throws ParseException, DuplicateLanguageException, IngestRejectException, IOException, NotSupportedException {
ArchiveConverterMain converter = new ArchiveConverterMain(args);
File convertedArchive = converter.archiveConversion(args);
File convertedArchive = converter.archiveConversion();
}
/**
......@@ -206,7 +206,7 @@ public class ArchiveConverterMain {
} else {
try {
archiveConversion(args);
archiveConversion();
System.exit(0);
} catch (DuplicateLanguageException e) {
manageLanguageRejectException(e);
......@@ -311,7 +311,7 @@ public class ArchiveConverterMain {
}
public File archiveConversion(String[] args) throws IngestRejectException, IOException, NotSupportedException, DuplicateLanguageException, ParseException {
public File archiveConversion() throws IngestRejectException, IOException, NotSupportedException, DuplicateLanguageException, ParseException {
ArchiveConverter archiveConverter = null;
if(formalism.equals("sip") || formalism.equals("aip")) {
......
Markdown is supported
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