Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dad
archive-format-converter
Commits
2ef095f2
Commit
2ef095f2
authored
Sep 16, 2021
by
marceteau
Browse files
refactor : nettoyage arguments inutiles
parent
71045566
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/cines/pac/converter/ArchiveConverterMain.java
View file @
2ef095f2
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment