Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Energy ADE
ADE Xjc
Commits
2069595d
Commit
2069595d
authored
Mar 23, 2017
by
Claus Nagel
Browse files
minor fix
parent
8fff6436
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/citygml4j/ade_xjc/ADE_XJC.java
View file @
2069595d
...
@@ -95,9 +95,13 @@ public class ADE_XJC {
...
@@ -95,9 +95,13 @@ public class ADE_XJC {
new
ADE_XJC
().
doMain
(
args
);
new
ADE_XJC
().
doMain
(
args
);
}
}
private
void
doMain
(
String
[]
tmp
)
{
private
void
doMain
(
String
[]
_args
)
{
List
<
String
>
tmp
=
new
ArrayList
<
String
>();
for
(
String
arg
:
_args
)
tmp
.
addAll
(
Arrays
.
asList
(
arg
.
split
(
" +"
)));
Map
<
Boolean
,
List
<
String
>>
args
=
tmp
.
stream
().
collect
(
Collectors
.
partitioningBy
(
arg
->
!
arg
.
startsWith
(
"-X"
)));
CmdLineParser
parser
=
new
CmdLineParser
(
this
,
ParserProperties
.
defaults
().
withUsageWidth
(
80
));
CmdLineParser
parser
=
new
CmdLineParser
(
this
,
ParserProperties
.
defaults
().
withUsageWidth
(
80
));
Map
<
Boolean
,
List
<
String
>>
args
=
Arrays
.
stream
(
tmp
).
collect
(
Collectors
.
partitioningBy
(
arg
->
!
arg
.
startsWith
(
"-X"
)));
try
{
try
{
parser
.
parseArgument
(
args
.
get
(
Boolean
.
TRUE
));
parser
.
parseArgument
(
args
.
get
(
Boolean
.
TRUE
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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