Skip to content

Commit 1f37da5

Browse files
committed
Merge pull request spring-projects#9938 from Johnny Lim
* spring-projectsgh-9938: Polish
2 parents 7a87c69 + 56f47e1 commit 1f37da5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/BackgroundPreinitializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
public class BackgroundPreinitializer
4747
implements ApplicationListener<SpringApplicationEvent> {
4848

49-
private static final AtomicBoolean preinitalizationStarted = new AtomicBoolean(false);
49+
private static final AtomicBoolean preinitializationStarted = new AtomicBoolean(false);
5050

5151
private static final CountDownLatch preinitializationComplete = new CountDownLatch(1);
5252

5353
@Override
5454
public void onApplicationEvent(SpringApplicationEvent event) {
5555
if (event instanceof ApplicationEnvironmentPreparedEvent) {
56-
if (preinitalizationStarted.compareAndSet(false, true)) {
56+
if (preinitializationStarted.compareAndSet(false, true)) {
5757
performPreinitialization();
5858
}
5959
}

spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ then use the https://cloud.google.com/sdk/downloads[Google Cloud SDK] to push yo
451451
Spring Boot app into that slot from the command line or CI build.
452452

453453
App Engine needs you to create an `app.yaml` file to describe the resources your app
454-
requires. Normally you put this in `src/min/appengine`, and it looks something like this:
454+
requires. Normally you put this in `src/main/appengine`, and it looks something like this:
455455

456456
[source,yaml,indent=0]
457457
----

spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ however it doesn't support as many frameworks and it isn't commercially supporte
882882
==== Excluding resources
883883
Certain resources don't necessarily need to trigger a restart when they are changed. For
884884
example, Thymeleaf templates can just be edited in-place. By default changing resources
885-
in `/META-INF/maven`, `/META-INF/resources` ,`/resources` ,`/static` ,`/public` or
885+
in `/META-INF/maven`, `/META-INF/resources`, `/resources`, `/static`, `/public` or
886886
`/templates` will not trigger a restart but will trigger a
887887
<<using-boot-devtools-livereload, live reload>>. If you want to customize these exclusions
888888
you can use the `spring.devtools.restart.exclude` property. For example, to exclude only

spring-boot/src/main/java/org/springframework/boot/type/classreading/ConcurrentReferenceCachingMetadataReaderFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/**
3131
* Caching implementation of the {@link MetadataReaderFactory} interface backed by a
32-
* {@link ConcurrentReferenceHashMap} , caching {@link MetadataReader} per Spring
32+
* {@link ConcurrentReferenceHashMap}, caching {@link MetadataReader} per Spring
3333
* {@link Resource} handle (i.e. per ".class" file).
3434
*
3535
* @author Phillip Webb

0 commit comments

Comments
 (0)