Skip to content

Commit 1f24fea

Browse files
ngocnhan-tran1996philwebb
authored andcommitted
Fix typo
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 4f60b8a commit 1f24fea

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/SystemEnvironmentConfigDataResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public int hashCode() {
8585

8686
@Override
8787
public String toString() {
88-
return "system envionement variable [" + this.variableName + "] content loaded using "
88+
return "system environment variable [" + this.variableName + "] content loaded using "
8989
+ ClassUtils.getShortName(this.loader.getClass());
9090
}
9191

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/config/SystemEnvironmentConfigDataLoaderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void loadLoadsConfigData() throws IOException {
6363
void loadWhenNoContentThrowsException() {
6464
assertThatExceptionOfType(ConfigDataResourceNotFoundException.class)
6565
.isThrownBy(() -> this.loader.load(this.context, createResource("VAR1")))
66-
.withMessage("Config data resource 'system envionement variable [VAR1] content "
66+
.withMessage("Config data resource 'system environment variable [VAR1] content "
6767
+ "loaded using PropertiesPropertySourceLoader' cannot be found");
6868
}
6969

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/config/SystemEnvironmentConfigDataResourceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void equalsAndHashcode() {
7373
void toStringReturnsString() {
7474
SystemEnvironmentConfigDataResource resource = createResource("VAR1");
7575
assertThat(resource)
76-
.hasToString("system envionement variable [VAR1] content loaded using PropertiesPropertySourceLoader");
76+
.hasToString("system environment variable [VAR1] content loaded using PropertiesPropertySourceLoader");
7777
}
7878

7979
private SystemEnvironmentConfigDataResource createResource(String variableName) {

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/http/client/ReactorClientHttpRequestFactoryBuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ReactorClientHttpRequestFactoryBuilderTests
4949
}
5050

5151
@Test
52-
void withwithHttpClientFactory() {
52+
void withHttpClientFactory() {
5353
boolean[] called = new boolean[1];
5454
Supplier<HttpClient> httpClientFactory = () -> {
5555
called[0] = true;

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/http/client/reactive/ReactorClientHttpConnectorBuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ReactorClientHttpConnectorBuilderTests
4848
}
4949

5050
@Test
51-
void withwithHttpClientFactory() {
51+
void withHttpClientFactory() {
5252
boolean[] called = new boolean[1];
5353
Supplier<HttpClient> httpClientFactory = () -> {
5454
called[0] = true;

0 commit comments

Comments
 (0)