This commit is contained in:
Phillip Webb
2018-03-29 11:53:37 -07:00
parent ebb2f70e0b
commit 98a2a91d16
8 changed files with 29 additions and 31 deletions

View File

@@ -124,9 +124,9 @@ abstract class ArchiveCommand extends OptionParsingCommand {
protected ExitStatus run(OptionSet options) throws Exception {
List<?> nonOptionArguments = new ArrayList<Object>(
options.nonOptionArguments());
Assert.isTrue(nonOptionArguments.size() >= 2, () -> "The name of the "
+ "resulting " + this.type + " and at least one source file must be "
+ "specified");
Assert.isTrue(nonOptionArguments.size() >= 2,
() -> "The name of the " + "resulting " + this.type
+ " and at least one source file must be " + "specified");
File output = new File((String) nonOptionArguments.remove(0));
Assert.isTrue(