Skip to content

Commit ed00a90

Browse files
Fix typo
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent f892872 commit ed00a90

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
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;

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/structured/StructuredLoggingJsonPropertiesJsonMembersCustomizerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void customizeWhenHasRenameRenamesMember() {
8989
}
9090

9191
@Test
92-
void customizeWhenHasAddAddsMemeber() {
92+
void customizeWhenHasAddAddsMember() {
9393
StructuredLoggingJsonProperties properties = new StructuredLoggingJsonProperties(Collections.emptySet(),
9494
Collections.emptySet(), Collections.emptyMap(), Map.of("z", "z"), null, null, null);
9595
StructuredLoggingJsonPropertiesJsonMembersCustomizer customizer = new StructuredLoggingJsonPropertiesJsonMembersCustomizer(

spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinBindableRuntimeHintsRegistrarTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.springframework.aot.hint.RuntimeHints
2525
/**
2626
* Tests for {@link BindableRuntimeHintsRegistrar}.
2727
*
28-
* @author Andy Wilkinsin
28+
* @author Andy Wilkinson
2929
*/
3030
class KotlinBindableRuntimeHintsRegistrarTests {
3131

0 commit comments

Comments
 (0)