Skip to content

Commit cda310b

Browse files
committed
Polish "Fix a broken Asciidoctor syntax"
See spring-projectsgh-17970
1 parent 78a467f commit cda310b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ Application events are sent in the following order, as your application runs:
254254
except for the registration of listeners and initializers.
255255
. An `ApplicationEnvironmentPreparedEvent` is sent when the `Environment` to be used in
256256
the context is known but before the context is created.
257-
. An `ApplicationContextInitializedEvent` is sent when the `ApplicationContext` is prepared
258-
and ApplicationContextInitializers have been called but before any bean definitions are loaded.
257+
. An `ApplicationContextInitializedEvent` is sent when the `ApplicationContext` is
258+
prepared and ApplicationContextInitializers have been called but before any bean
259+
definitions are loaded.
259260
. An `ApplicationPreparedEvent` is sent just before the refresh is started but after bean
260261
definitions have been loaded.
261262
. An `ApplicationStartedEvent` is sent after the context has been refreshed but before any
@@ -264,13 +265,14 @@ application and command-line runners have been called.
264265
been called. It indicates that the application is ready to service requests.
265266
. An `ApplicationFailedEvent` is sent if there is an exception on startup.
266267

267-
The above list only includes ``SpringApplicationEvent``s that are tied to a `SpringApplication`.
268-
In addition to these, the following events are also published after `ApplicationPreparedEvent`
269-
and before `ApplicationStartedEvent`:
268+
The above list only includes ``SpringApplicationEvent``s that are tied to a
269+
`SpringApplication`. In addition to these, the following events are also published after
270+
`ApplicationPreparedEvent` and before `ApplicationStartedEvent`:
270271

271272
. A `ContextRefreshedEvent` is sent when an `ApplicationContext` is refreshed.
272-
. A `WebServerInitializedEvent` is sent after the `WebServer` is ready. `ServletWebServerInitializedEvent`
273-
and `ReactiveWebServerInitializedEvent` are the servlet and reactive variants respectively.
273+
. A `WebServerInitializedEvent` is sent after the `WebServer` is ready.
274+
`ServletWebServerInitializedEvent` and `ReactiveWebServerInitializedEvent` are the servlet
275+
and reactive variants respectively.
274276

275277
TIP: You often need not use application events, but it can be handy to know that they
276278
exist. Internally, Spring Boot uses events to handle a variety of tasks.

0 commit comments

Comments
 (0)