Formatting
This commit is contained in:
@@ -131,9 +131,10 @@ abstract class ArchiveCommand extends OptionParsingCommand {
|
||||
|
||||
File output = new File((String) nonOptionArguments.remove(0));
|
||||
Assert.isTrue(
|
||||
output.getName().toLowerCase(Locale.ENGLISH).endsWith("." + this.type),
|
||||
"The output '" + output + "' is not a " + this.type.toUpperCase(
|
||||
Locale.ENGLISH) + " file.");
|
||||
output.getName().toLowerCase(Locale.ENGLISH)
|
||||
.endsWith("." + this.type),
|
||||
"The output '" + output + "' is not a "
|
||||
+ this.type.toUpperCase(Locale.ENGLISH) + " file.");
|
||||
deleteIfExists(output);
|
||||
|
||||
GroovyCompiler compiler = createCompiler(options);
|
||||
|
||||
@@ -360,7 +360,8 @@ class ProjectGenerationRequest {
|
||||
return builder.build();
|
||||
}
|
||||
catch (URISyntaxException ex) {
|
||||
throw new ReportableException("Invalid service URL (" + ex.getMessage() + ")");
|
||||
throw new ReportableException(
|
||||
"Invalid service URL (" + ex.getMessage() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user