Skip to content

Commit

Permalink
providerJpmsArguments are already controlled by isMainDescriptor in P…
Browse files Browse the repository at this point in the history
…roviderInfo
  • Loading branch information
Tibor17 committed May 31, 2020
1 parent 6237868 commit 5925e3d
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,21 +207,21 @@ File createArgsFile( @Nonnull String moduleName, @Nonnull List<String> modulePat
}
else
{
for ( String[] entries : providerJpmsArguments )
{
for ( String entry : entries )
{
args.append( entry )
.append( NL );
}
}

args.append( "--add-modules" )
.append( NL )
.append( moduleName )
.append( NL );
}

for ( String[] entries : providerJpmsArguments )
{
for ( String entry : entries )
{
args.append( entry )
.append( NL );
}
}

args.append( startClassName );

String argsFileContent = args.toString();
Expand Down

0 comments on commit 5925e3d

Please sign in to comment.