Skip to content

Commit

Permalink
fixed diamond not supported in Java versions < 7
Browse files Browse the repository at this point in the history
  • Loading branch information
sfeuerhahn authored and remkop committed Jun 8, 2021
1 parent 36b882d commit 7655278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -13292,7 +13292,7 @@ private void processArguments(List<CommandLine> parsedCommands,
tracer.debug("Subcommand '%s' has been matched before. Making a copy...%n", subcommand.getCommandName());
subcommand = subcommand.copy();
subcommand.getCommandSpec().parent(commandSpec.parent()); // hook it up with its parent
inheritedInitialized = new LinkedHashSet<>(inheritedInitialized);
inheritedInitialized = new LinkedHashSet<ArgSpec>(inheritedInitialized);
}
processSubcommand(subcommand, getParent().interpreter.parseResultBuilder, parsedCommands, args, required, inheritedInitialized, originalArgs, nowProcessing, separator, arg);
continue;
Expand Down

0 comments on commit 7655278

Please sign in to comment.