Polish formatting
This commit is contained in:
@@ -45,4 +45,5 @@ public class HelpExample {
|
||||
public String getExample() {
|
||||
return this.example;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -111,4 +111,5 @@ public class HintCommand extends AbstractCommand {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -182,5 +182,7 @@ public class OptionHandler {
|
||||
public String getUsageHelp() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -91,4 +91,5 @@ public class OptionSetGroovyCompilerConfiguration implements GroovyCompilerConfi
|
||||
public List<RepositoryConfiguration> getRepositoryConfiguration() {
|
||||
return this.repositoryConfiguration;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -148,7 +148,9 @@ public class RunCommand extends OptionParsingCommand {
|
||||
}
|
||||
return Level.INFO;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@ public class SpringApplicationRunner {
|
||||
|
||||
/**
|
||||
* Compile and run the application.
|
||||
*
|
||||
* @throws Exception on error
|
||||
*/
|
||||
public void compileAndRun() throws Exception {
|
||||
@@ -203,6 +202,7 @@ public class SpringApplicationRunner {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,4 +40,5 @@ public interface SpringApplicationRunnerConfiguration
|
||||
* @return the logging level
|
||||
*/
|
||||
Level getLogLevel();
|
||||
|
||||
}
|
||||
|
||||
@@ -77,4 +77,5 @@ class AnsiString {
|
||||
public String toString() {
|
||||
return this.value.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -143,5 +143,7 @@ public class CommandCompleter extends StringsCompleter {
|
||||
public String getUsage() {
|
||||
return this.usage;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -55,4 +55,5 @@ public class ShellPrompts {
|
||||
public String getPrompt() {
|
||||
return this.prompts.isEmpty() ? DEFAULT_PROMPT : this.prompts.peek();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,6 +68,7 @@ public class TestCommand extends OptionParsingCommand {
|
||||
CompilerOptionHandler optionHandler) {
|
||||
super(options, optionHandler);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -170,6 +170,7 @@ public class TestRunner {
|
||||
ReflectionUtils.rethrowRuntimeException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -131,4 +131,5 @@ public abstract class AnnotatedNodeASTTransformation implements ASTTransformatio
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -78,4 +78,5 @@ public class DependencyAutoConfigurationTransformation implements ASTTransformat
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -253,7 +253,6 @@ public class DependencyCustomizer {
|
||||
/**
|
||||
* Strategy called to test if dependencies can be added. Subclasses override as
|
||||
* required. Returns {@code true} by default.
|
||||
*
|
||||
* @return {@code true} if dependencies can be added, otherwise {@code false}
|
||||
*/
|
||||
protected boolean canAdd() {
|
||||
@@ -267,4 +266,5 @@ public class DependencyCustomizer {
|
||||
public DependencyResolutionContext getDependencyResolutionContext() {
|
||||
return this.dependencyResolutionContext;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -164,6 +164,7 @@ public class ExtendedGroovyClassLoader extends GroovyClassLoader {
|
||||
.put(classNode.getName().replace(".", "/") + ".class", code);
|
||||
return createdClass;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -238,6 +239,7 @@ public class ExtendedGroovyClassLoader extends GroovyClassLoader {
|
||||
this.groovyOnlyClassLoader.loadClass(name);
|
||||
return super.loadClass(name, resolve);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -108,4 +108,5 @@ public class ResolveDependencyCoordinatesTransformation
|
||||
ConstantExpression expression = new ConstantExpression(value);
|
||||
annotation.setMember(name, expression);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -48,4 +48,5 @@ public class JUnitCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
.addStaticStars("org.hamcrest.MatcherAssert")
|
||||
.addStaticStars("org.hamcrest.Matchers");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,4 +51,5 @@ public class JmsCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
"org.springframework.jms.listener",
|
||||
"org.springframework.jms.listener.adapter");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -55,4 +55,5 @@ public class RabbitCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
"org.springframework.amqp.rabbit.listener.adapter",
|
||||
"org.springframework.amqp.core");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -64,4 +64,5 @@ public class SpringBatchCompilerAutoConfiguration extends CompilerAutoConfigurat
|
||||
"org.springframework.batch.core.converter.JobParametersConverter",
|
||||
"org.springframework.batch.core.converter.DefaultJobParametersConverter");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -102,4 +102,5 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -61,4 +61,5 @@ public class SpringIntegrationCompilerAutoConfiguration
|
||||
"org.springframework.integration.config.EnableIntegration");
|
||||
imports.addStarImports("org.springframework.integration.annotation");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -48,4 +48,5 @@ public class SpringRetryCompilerAutoConfiguration extends CompilerAutoConfigurat
|
||||
public void applyImports(ImportCustomizer imports) {
|
||||
imports.addStarImports("org.springframework.retry.annotation");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -55,4 +55,5 @@ public class SpringSecurityCompilerAutoConfiguration extends CompilerAutoConfigu
|
||||
"org.springframework.security.config.annotation.web",
|
||||
"org.springframework.security.config.annotation.web.builders");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -72,4 +72,5 @@ public class SpringTestCompilerAutoConfiguration extends CompilerAutoConfigurati
|
||||
"org.springframework.boot.test.context.SpringBootTest.WebEnvironment",
|
||||
"org.springframework.boot.test.web.client.TestRestTemplate");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,4 +51,5 @@ public interface ArtifactCoordinatesResolver {
|
||||
* @return The version of the module
|
||||
*/
|
||||
String getVersion(String module);
|
||||
|
||||
}
|
||||
|
||||
@@ -95,4 +95,5 @@ public abstract class AetherGrapeEngineFactory {
|
||||
}
|
||||
return repositories;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,4 +68,5 @@ public class DefaultRepositorySystemSessionAutoConfiguration
|
||||
}
|
||||
return new File(System.getProperty("user.home"), ".m2");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -66,4 +66,5 @@ final class DetailedProgressReporter implements ProgressReporter {
|
||||
@Override
|
||||
public void finished() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -40,4 +40,5 @@ public abstract class GrapeEngineInstaller {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -98,4 +98,5 @@ final class SummaryProgressReporter implements ProgressReporter {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -120,6 +120,7 @@ public class MavenSettingsReader {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user