From c127c1fdf96904fcb28aa88339980b3edb239005 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 1 Dec 2016 14:54:54 +0100 Subject: [PATCH] Polish doc Closes gh-7381 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 2 +- .../springframework/boot/system/ApplicationPidFileWriter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 07626dd59c9..2af5c7d34da 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -229,7 +229,7 @@ key. Application events are sent in the following order, as your application runs: -. An `ApplicationStartedEvent` is sent at the start of a run, but before any +. An `ApplicationStartingEvent` is sent at the start of a run, but before any processing except the registration of listeners and initializers. . An `ApplicationEnvironmentPreparedEvent` is sent when the `Environment` to be used in the context is known, but before the context is created. diff --git a/spring-boot/src/main/java/org/springframework/boot/system/ApplicationPidFileWriter.java b/spring-boot/src/main/java/org/springframework/boot/system/ApplicationPidFileWriter.java index a8ff926b435..bbc27e74413 100644 --- a/spring-boot/src/main/java/org/springframework/boot/system/ApplicationPidFileWriter.java +++ b/spring-boot/src/main/java/org/springframework/boot/system/ApplicationPidFileWriter.java @@ -121,7 +121,7 @@ public class ApplicationPidFileWriter /** * Sets the type of application event that will trigger writing of the PID file. * Defaults to {@link ApplicationPreparedEvent}. NOTE: If you use the - * {@link org.springframework.boot.context.event.ApplicationStartedEvent} to trigger + * {@link org.springframework.boot.context.event.ApplicationStartingEvent} to trigger * the write, you will not be able to specify the PID filename in the Spring * {@link Environment}. * @param triggerEventType the trigger event type