Closes gh-4554
This commit is contained in:
Johnny Lim
2015-11-19 21:39:27 +09:00
committed by Stephane Nicoll
parent 30791599a5
commit efff4a0051
19 changed files with 34 additions and 34 deletions

View File

@@ -48,7 +48,7 @@ public class InitCommand extends OptionParsingCommand {
public InitCommand(InitOptionHandler handler) {
super("init",
"Initialize a new project using Spring " + "Initialzr (start.spring.io)",
"Initialize a new project using Spring " + "Initializr (start.spring.io)",
handler);
}

View File

@@ -38,7 +38,7 @@ class ServiceCapabilitiesReportGenerator {
/**
* Creates an instance using the specified {@link InitializrService}.
* @param initializrService the initialzr service
* @param initializrService the initializr service
*/
ServiceCapabilitiesReportGenerator(InitializrService initializrService) {
this.initializrService = initializrService;

View File

@@ -21,7 +21,7 @@ import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.AnsiRenderer.Code;
/**
* Simple utitliy class to build an ANSI string when supported by the {@link Terminal}.
* Simple utility class to build an ANSI string when supported by the {@link Terminal}.
*
* @author Phillip Webb
*/

View File

@@ -59,10 +59,10 @@ public class CommandCompleter extends StringsCompleter {
for (OptionHelp optionHelp : command.getOptionsHelp()) {
options.addAll(optionHelp.getOptions());
}
AggregateCompleter arguementCompleters = new AggregateCompleter(
AggregateCompleter argumentCompleters = new AggregateCompleter(
new StringsCompleter(options), new FileNameCompleter());
ArgumentCompleter argumentCompleter = new ArgumentCompleter(argumentDelimiter,
arguementCompleters);
argumentCompleters);
argumentCompleter.setStrict(false);
this.commandCompleters.put(command.getName(), argumentCompleter);
}

View File

@@ -175,7 +175,7 @@ public class Shell {
}
/**
* Final handle an interrup signal (CTRL-C).
* Final handle an interrupt signal (CTRL-C).
*/
protected void handleSigInt() {
if (this.commandRunner.handleSigInt()) {

View File

@@ -92,9 +92,9 @@ public class DependencyCustomizer {
return new DependencyCustomizer(this) {
@Override
protected boolean canAdd() {
for (String classname : classNames) {
for (String className : classNames) {
try {
DependencyCustomizer.this.loader.loadClass(classname);
DependencyCustomizer.this.loader.loadClass(className);
}
catch (Exception ex) {
return true;
@@ -115,9 +115,9 @@ public class DependencyCustomizer {
return new DependencyCustomizer(this) {
@Override
protected boolean canAdd() {
for (String classname : classNames) {
for (String className : classNames) {
try {
DependencyCustomizer.this.loader.loadClass(classname);
DependencyCustomizer.this.loader.loadClass(className);
return false;
}
catch (Exception ex) {

View File

@@ -56,10 +56,10 @@ public class SpringTestCompilerAutoConfiguration extends CompilerAutoConfigurati
GeneratorContext generatorContext, SourceUnit source, ClassNode classNode)
throws CompilationFailedException {
if (!AstUtils.hasAtLeastOneAnnotation(classNode, "RunWith")) {
AnnotationNode runwith = new AnnotationNode(ClassHelper.make("RunWith"));
runwith.addMember("value",
AnnotationNode runWith = new AnnotationNode(ClassHelper.make("RunWith"));
runWith.addMember("value",
new ClassExpression(ClassHelper.make("SpringJUnit4ClassRunner")));
classNode.addAnnotation(runwith);
classNode.addAnnotation(runWith);
}
}

View File

@@ -30,7 +30,7 @@ import groovy.text.TemplateEngine;
import org.codehaus.groovy.control.CompilationFailedException;
/**
* Helpful utilties for working with Groovy {@link Template}s.
* Helpful utilities for working with Groovy {@link Template}s.
*
* @author Dave Syer
*/