Skip to content

Commit d85ccc5

Browse files
committed
Merge pull request #47801 from ngocnhan-tran1996
* pr/47801: Fix typos Closes gh-47801
2 parents 6b426b2 + 0546e30 commit d85ccc5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

buildSrc/src/main/java/org/springframework/boot/build/RepositoryTransformersExtension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private List<MavenArtifactRepository> getSpringRepositories() {
115115
List<MavenArtifactRepository> springRepositories = new ArrayList<>(this.project.getRepositories()
116116
.withType(MavenArtifactRepository.class)
117117
.stream()
118-
.filter(this::isSpringReposirory)
118+
.filter(this::isSpringRepository)
119119
.toList());
120120
Function<MavenArtifactRepository, Boolean> bySnapshots = (repository) -> repository.getName()
121121
.contains("snapshot");
@@ -124,7 +124,7 @@ private List<MavenArtifactRepository> getSpringRepositories() {
124124
return springRepositories;
125125
}
126126

127-
private boolean isSpringReposirory(MavenArtifactRepository repository) {
127+
private boolean isSpringRepository(MavenArtifactRepository repository) {
128128
return (repository.getName().startsWith("spring-"));
129129
}
130130

buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/MavenMetadataVersionResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private Set<String> resolveVersions(String groupId, String artifactId, MavenArti
117117
}
118118

119119
/**
120-
* Retrives the configured credentials of the given {@code repository}. We cannot use
120+
* Retrieves the configured credentials of the given {@code repository}. We cannot use
121121
* {@link MavenArtifactRepository#getCredentials()} as, if the repository has no
122122
* credentials, it has the unwanted side-effect of assigning an empty set of username
123123
* and password credentials to the repository which may cause subsequent "Username

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/container/ContainerImageMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Primarily designed to be attached to {@link BeanDefinition BeanDefinitions} created in
2525
* support of Testcontainers or Docker Compose.
2626
*
27-
* @param imageName the contaimer image name or {@code null} if the image name is not yet
27+
* @param imageName the container image name or {@code null} if the image name is not yet
2828
* known
2929
* @author Phillip Webb
3030
* @since 3.4.0

spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/classpath/resources/Resource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* A resource that is to be made available in tests.
2323
*
24-
* @param path the path of the resoure
24+
* @param path the path of the resource
2525
* @param additional whether the resource should be made available in addition to those
2626
* that already exist elsewhere
2727
* @author Andy Wilkinson

0 commit comments

Comments
 (0)