Skip to content

Commit 5de9516

Browse files
izeyesnicoll
authored andcommitted
Fix typos
Closes spring-projectsgh-6114
1 parent ce68fdf commit 5de9516

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/Jackson2ObjectMapperBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
public interface Jackson2ObjectMapperBuilderCustomizer {
3232

3333
/**
34-
* Customize the jacksonObjectMapperBuilder.
35-
* @param jacksonObjectMapperBuilder the jacksonObjectMapperBuilder to customize
34+
* Customize the JacksonObjectMapperBuilder.
35+
* @param jacksonObjectMapperBuilder the JacksonObjectMapperBuilder to customize
3636
*/
3737
void customize(Jackson2ObjectMapperBuilder jacksonObjectMapperBuilder);
3838

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void restTemplateWhenNoMessageConvertersDefinedShouldHaveDefaultMessageCo
7575
}
7676

7777
@Test
78-
public void restTemplateWhenHasCustomMesssageConvertersShouldHaveMessageConverters() {
78+
public void restTemplateWhenHasCustomMessageConvertersShouldHaveMessageConverters() {
7979
load(CustomHttpMessageConverter.class,
8080
HttpMessageConvertersAutoConfiguration.class, RestTemplateConfig.class);
8181
RestTemplate restTemplate = this.context.getBean(RestTemplate.class);

spring-boot-samples/spring-boot-sample-cache/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ the underlying `HazelcastInstance`.
7575

7676

7777
=== Infinispan
78-
Add the org.infinispan:infinispan-spring4-embedded` dependency to enable support for
78+
Add the `org.infinispan:infinispan-spring4-embedded` dependency to enable support for
7979
Infinispan. There is no default location that Infinispan uses to look for a config file
8080
so if you don't specify anything it will bootstrap on a hardcoded default. You can set
8181
the `spring.cache.infinispan.config` property to use the provided `infinispan.xml`

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/client/RestClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* <strong>only</strong> on beans that use {@link RestTemplateBuilder}.
4343
* <p>
4444
* Using this annotation will disable full auto-configuration and instead apply only
45-
* configuration relevant to rest client tests (i.e. Jackson or GSON auto-configureation
45+
* configuration relevant to rest client tests (i.e. Jackson or GSON auto-configuration
4646
* and {@code @JsonComponent} beans, but not regular {@link Component @Component} beans).
4747
* <p>
4848
* By default, tests annotated with {@code RestClientTest} will also auto-configure a

spring-boot-test/src/main/java/org/springframework/boot/test/web/client/MockServerRestTemplateCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void setDetectRootUri(boolean detectRootUri) {
8282

8383
@Override
8484
public void customize(RestTemplate restTemplate) {
85-
RequestExpectationManager expectationManager = createExpecationManager();
85+
RequestExpectationManager expectationManager = createExpectationManager();
8686
if (this.detectRootUri) {
8787
expectationManager = RootUriRequestExpectationManager
8888
.forRestTemplate(restTemplate, expectationManager);
@@ -93,7 +93,7 @@ public void customize(RestTemplate restTemplate) {
9393
this.servers.put(restTemplate, server);
9494
}
9595

96-
protected RequestExpectationManager createExpecationManager() {
96+
protected RequestExpectationManager createExpectationManager() {
9797
return BeanUtils.instantiate(this.expectationManager);
9898
}
9999

spring-boot-test/src/test/java/org/springframework/boot/test/web/client/MockServerRestTemplateCustomizerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void createWhenExpectationManagerClassIsNullShouldThrowException()
6565
}
6666

6767
@Test
68-
public void createShouldUseExpectationMangerClass() throws Exception {
68+
public void createShouldUseExpectationManagerClass() throws Exception {
6969
MockServerRestTemplateCustomizer customizer = new MockServerRestTemplateCustomizer(
7070
UnorderedRequestExpectationManager.class);
7171
customizer.customize(new RestTemplate());

spring-boot-test/src/test/java/org/springframework/boot/test/web/client/RootUriRequestExpectationManagerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void createWhenExpectationManagerIsNullShouldThrowException()
8686
}
8787

8888
@Test
89-
public void expectRequestShouldDelegateToExpecationManager() throws Exception {
89+
public void expectRequestShouldDelegateToExpectationManager() throws Exception {
9090
ExpectedCount count = mock(ExpectedCount.class);
9191
RequestMatcher requestMatcher = mock(RequestMatcher.class);
9292
this.manager.expectRequest(count, requestMatcher);
@@ -128,7 +128,7 @@ public void validateRequestWhenRequestUriAssertionIsThrownShouldReplaceUriInMess
128128
}
129129

130130
@Test
131-
public void resetRequestShouldDelegateToExpecationManager() throws Exception {
131+
public void resetRequestShouldDelegateToExpectationManager() throws Exception {
132132
this.manager.reset();
133133
verify(this.delegate).reset();
134134
}

spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizerBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
2929

3030
/**
31-
* {@link BeanPostProcessor} that apply all {@link EmbeddedServletContainerCustomizer}s
31+
* {@link BeanPostProcessor} that applies all {@link EmbeddedServletContainerCustomizer}s
3232
* from the bean factory to {@link ConfigurableEmbeddedServletContainer} beans.
3333
*
3434
* @author Dave Syer

spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public RestTemplateBuilder uriTemplateHandler(UriTemplateHandler uriTemplateHand
260260
/**
261261
* Set the {@link ResponseErrorHandler} that should be used with the
262262
* {@link RestTemplate}.
263-
* @param errorHandler the error hander to use
263+
* @param errorHandler the error handler to use
264264
* @return a new builder instance
265265
*/
266266
public RestTemplateBuilder errorHandler(ResponseErrorHandler errorHandler) {

spring-boot/src/main/java/org/springframework/boot/web/servlet/ErrorPageRegistrarBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
2929

3030
/**
31-
* {@link BeanPostProcessor} that apply all {@link ErrorPageRegistrar}s from the bean
31+
* {@link BeanPostProcessor} that applies all {@link ErrorPageRegistrar}s from the bean
3232
* factory to {@link ErrorPageRegistry} beans.
3333
*
3434
* @author Phillip Webb

spring-boot/src/test/java/org/springframework/boot/web/client/RestTemplateBuilderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void messageConvertersShouldApply() throws Exception {
141141
}
142142

143143
@Test
144-
public void messageConvertersShouldRepalceExisting() throws Exception {
144+
public void messageConvertersShouldReplaceExisting() throws Exception {
145145
RestTemplate template = this.builder
146146
.messageConverters(new ResourceHttpMessageConverter())
147147
.messageConverters(Collections.singleton(this.messageConverter)).build();
@@ -308,7 +308,7 @@ public void customize(RestTemplate restTemplate) {
308308
}
309309

310310
@Test
311-
public void customizersShouldRepalceExisting() throws Exception {
311+
public void customizersShouldReplaceExisting() throws Exception {
312312
RestTemplateCustomizer customizer1 = mock(RestTemplateCustomizer.class);
313313
RestTemplateCustomizer customizer2 = mock(RestTemplateCustomizer.class);
314314
RestTemplate template = this.builder.customizers(customizer1)

0 commit comments

Comments
 (0)