Skip to content

Commit efff4a0

Browse files
izeyesnicoll
authored andcommitted
1 parent 3079159 commit efff4a0

File tree

19 files changed

+34
-34
lines changed

19 files changed

+34
-34
lines changed

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/PropertyPlaceholderAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void close() {
4646
}
4747

4848
@Test
49-
public void propertyPlaceholderse() throws Exception {
49+
public void propertyPlaceholders() throws Exception {
5050
this.context.register(PropertyPlaceholderAutoConfiguration.class,
5151
PlaceholderConfig.class);
5252
EnvironmentTestUtils.addEnvironment(this.context, "foo:two");

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void customizeTomcatWithCustomizer() throws Exception {
147147
@Test
148148
public void testAccidentalMultipleServerPropertiesBeans() throws Exception {
149149
this.context = new AnnotationConfigEmbeddedWebApplicationContext();
150-
this.context.register(Config.class, MutiServerPropertiesBeanConfig.class,
150+
this.context.register(Config.class, MultiServerPropertiesBeanConfig.class,
151151
ServerPropertiesAutoConfiguration.class,
152152
PropertyPlaceholderAutoConfiguration.class);
153153
this.thrown.expect(ApplicationContextException.class);
@@ -222,7 +222,7 @@ public void customize(ConfigurableEmbeddedServletContainer container) {
222222
}
223223

224224
@Configuration
225-
protected static class MutiServerPropertiesBeanConfig {
225+
protected static class MultiServerPropertiesBeanConfig {
226226

227227
@Bean
228228
public ServerProperties serverPropertiesOne() {

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/websocket/WebSocketMessagingAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public TomcatEmbeddedServletContainerFactory tomcat() {
192192
}
193193

194194
@Bean
195-
public TomcatWebSocketContainerCustomizer tomcatCuztomiser() {
195+
public TomcatWebSocketContainerCustomizer tomcatCustomizer() {
196196
return new TomcatWebSocketContainerCustomizer();
197197
}
198198

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public InitCommand() {
4848

4949
public InitCommand(InitOptionHandler handler) {
5050
super("init",
51-
"Initialize a new project using Spring " + "Initialzr (start.spring.io)",
51+
"Initialize a new project using Spring " + "Initializr (start.spring.io)",
5252
handler);
5353
}
5454

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ServiceCapabilitiesReportGenerator {
3838

3939
/**
4040
* Creates an instance using the specified {@link InitializrService}.
41-
* @param initializrService the initialzr service
41+
* @param initializrService the initializr service
4242
*/
4343
ServiceCapabilitiesReportGenerator(InitializrService initializrService) {
4444
this.initializrService = initializrService;

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/AnsiString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.fusesource.jansi.AnsiRenderer.Code;
2222

2323
/**
24-
* Simple utitliy class to build an ANSI string when supported by the {@link Terminal}.
24+
* Simple utility class to build an ANSI string when supported by the {@link Terminal}.
2525
*
2626
* @author Phillip Webb
2727
*/

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public CommandCompleter(ConsoleReader consoleReader,
5959
for (OptionHelp optionHelp : command.getOptionsHelp()) {
6060
options.addAll(optionHelp.getOptions());
6161
}
62-
AggregateCompleter arguementCompleters = new AggregateCompleter(
62+
AggregateCompleter argumentCompleters = new AggregateCompleter(
6363
new StringsCompleter(options), new FileNameCompleter());
6464
ArgumentCompleter argumentCompleter = new ArgumentCompleter(argumentDelimiter,
65-
arguementCompleters);
65+
argumentCompleters);
6666
argumentCompleter.setStrict(false);
6767
this.commandCompleters.put(command.getName(), argumentCompleter);
6868
}

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private AnsiString ansi(String text, Code... codes) {
175175
}
176176

177177
/**
178-
* Final handle an interrup signal (CTRL-C).
178+
* Final handle an interrupt signal (CTRL-C).
179179
*/
180180
protected void handleSigInt() {
181181
if (this.commandRunner.handleSigInt()) {

spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ public DependencyCustomizer ifAnyMissingClasses(final String... classNames) {
9292
return new DependencyCustomizer(this) {
9393
@Override
9494
protected boolean canAdd() {
95-
for (String classname : classNames) {
95+
for (String className : classNames) {
9696
try {
97-
DependencyCustomizer.this.loader.loadClass(classname);
97+
DependencyCustomizer.this.loader.loadClass(className);
9898
}
9999
catch (Exception ex) {
100100
return true;
@@ -115,9 +115,9 @@ public DependencyCustomizer ifAllMissingClasses(final String... classNames) {
115115
return new DependencyCustomizer(this) {
116116
@Override
117117
protected boolean canAdd() {
118-
for (String classname : classNames) {
118+
for (String className : classNames) {
119119
try {
120-
DependencyCustomizer.this.loader.loadClass(classname);
120+
DependencyCustomizer.this.loader.loadClass(className);
121121
return false;
122122
}
123123
catch (Exception ex) {

spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringTestCompilerAutoConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public void apply(GroovyClassLoader loader, GroovyCompilerConfiguration configur
5656
GeneratorContext generatorContext, SourceUnit source, ClassNode classNode)
5757
throws CompilationFailedException {
5858
if (!AstUtils.hasAtLeastOneAnnotation(classNode, "RunWith")) {
59-
AnnotationNode runwith = new AnnotationNode(ClassHelper.make("RunWith"));
60-
runwith.addMember("value",
59+
AnnotationNode runWith = new AnnotationNode(ClassHelper.make("RunWith"));
60+
runWith.addMember("value",
6161
new ClassExpression(ClassHelper.make("SpringJUnit4ClassRunner")));
62-
classNode.addAnnotation(runwith);
62+
classNode.addAnnotation(runWith);
6363
}
6464
}
6565

0 commit comments

Comments
 (0)