Skip to content

Commit 5bd2ec4

Browse files
committed
Merge pull request #38983 from dreis2211
* pr/38983: Fix typos Closes gh-38983
2 parents 93d4149 + b7c9c82 commit 5bd2ec4

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

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

+2-2
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-2024 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.
@@ -48,7 +48,7 @@ public interface DependencyVersion extends Comparable<DependencyVersion> {
4848
* Returns whether the given {@code candidate} is an upgrade of this version.
4949
* @param candidate the version to consider
5050
* @param movingToSnapshots whether the upgrade is to be considered as part of moving
51-
* to snaphots
51+
* to snapshots
5252
* @return {@code true} if the candidate is an upgrade, otherwise false
5353
*/
5454
boolean isUpgrade(DependencyVersion candidate, boolean movingToSnapshots);

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/pulsar/PulsarProperties.java

+2-2
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-2024 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.
@@ -778,7 +778,7 @@ public static class Reader {
778778
private String name;
779779

780780
/**
781-
* Topis the reader subscribes to.
781+
* Topics the reader subscribes to.
782782
*/
783783
private List<String> topics;
784784

spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment/installing.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ See the https://www.freedesktop.org/software/systemd/man/systemd.service.html[se
355355

356356

357357
[[deployment.installing.init-d.script-customization.when-running.conf-file]]
358-
====== Using a Conf Gile
358+
====== Using a Conf File
359359
With the exception of `JARFILE` and `APP_NAME`, the settings listed in the preceding section can be configured by using a `.conf` file.
360360
The file is expected to be next to the jar file and have the same name but suffixed with `.conf` rather than `.jar`.
361361
For example, a jar named `/var/myapp/myapp.jar` uses the configuration file named `/var/myapp/myapp.conf`, as shown in the following example:

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/aot.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The `nativeCompile` task of the GraalVM Native Image plugin is automatically con
3636
[[aot.processing-tests]]
3737
== Processing Tests
3838
The AOT engine can be applied to JUnit 5 tests that use Spring's Test Context Framework.
39-
Suitable tests are processed by the `processTestAot` task to generate `ApplicationContextInitialzer` code.
39+
Suitable tests are processed by the `processTestAot` task to generate `ApplicationContextInitializer` code.
4040
As with application AOT processing, the `BeanFactory` is fully prepared at build-time.
4141
As with `processAot`, the `processTestAot` task is `JavaExec` subclass and can be configured as needed to influence this processing.
4242

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/reacting.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When Gradle's {java-plugin}[`java` plugin] is applied to a project, the Spring B
1818
6. Creates a {boot-run-javadoc}['BootRun`] task named `bootTestRun` that can be used to run your application using the `test` source set to find its main method and provide its runtime classpath.
1919
7. Creates a configuration named `bootArchives` that contains the artifact produced by the `bootJar` task.
2020
8. Creates a configuration named `developmentOnly` for dependencies that are only required at development time, such as Spring Boot's Devtools, and should not be packaged in executable jars and wars.
21-
9. Creats a configuration named `testAndDevelopmentOnly` for dependencies that are only required at development time and when writing and running tests and that should not be packaged in executable jars and wars.
21+
9. Creates a configuration named `testAndDevelopmentOnly` for dependencies that are only required at development time and when writing and running tests and that should not be packaged in executable jars and wars.
2222
10. Creates a configuration named `productionRuntimeClasspath`. It is equivalent to `runtimeClasspath` minus any dependencies that only appear in the `developmentOnly` or `testDevelopmentOnly` configurations.
2323
11. Configures any `JavaCompile` tasks with no configured encoding to use `UTF-8`.
2424
12. Configures any `JavaCompile` tasks to use the `-parameters` compiler argument.

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/nio/file/NestedFileSystem.java

+2-2
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-2024 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.
@@ -195,7 +195,7 @@ public UserPrincipalLookupService getUserPrincipalLookupService() {
195195

196196
@Override
197197
public WatchService newWatchService() throws IOException {
198-
throw new UnsupportedOperationException("Nested paths do not support the WacherService");
198+
throw new UnsupportedOperationException("Nested paths do not support the WatchService");
199199
}
200200

201201
@Override

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/zip/ZipContent.java

+2-2
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-2024 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.
@@ -657,7 +657,7 @@ private static long getSizeOfCentralDirectoryAndEndRecords(ZipEndOfCentralDirect
657657

658658
private static ZipContent loadNestedDirectory(Source source, ZipContent zip, Entry directoryEntry)
659659
throws IOException {
660-
debug.log("Loading nested directry entry '%s' from '%s'", source.nestedEntryName(), source.path());
660+
debug.log("Loading nested directory entry '%s' from '%s'", source.nestedEntryName(), source.path());
661661
if (!source.nestedEntryName().endsWith("/")) {
662662
throw new IllegalArgumentException("Nested entry name must end with '/'");
663663
}

spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/nio/file/NestedFileSystemTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void getUserPrincipalLookupServiceThrowsException() {
167167
void newWatchServiceThrowsException() {
168168
assertThatExceptionOfType(UnsupportedOperationException.class)
169169
.isThrownBy(() -> this.fileSystem.newWatchService())
170-
.withMessage("Nested paths do not support the WacherService");
170+
.withMessage("Nested paths do not support the WatchService");
171171
}
172172

173173
@Test

0 commit comments

Comments
 (0)