From aa8a531731331380800365bbbc5c5ecebc096c91 Mon Sep 17 00:00:00 2001 From: Bart <45495377+BartR96@users.noreply.github.com> Date: Fri, 30 Dec 2022 09:51:03 +0100 Subject: [PATCH] Fix a type in the ExitCodeGenerator documentation See gh-33658 --- .../src/docs/asciidoc/features/spring-application.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc index 12dbabd149..2bb3a11870 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc @@ -337,7 +337,7 @@ include::code:MyApplication[] Also, the `ExitCodeGenerator` interface may be implemented by exceptions. When such an exception is encountered, Spring Boot returns the exit code provided by the implemented `getExitCode()` method. -If there is more than `ExitCodeGenerator`, the first non-zero exit code that is generated is used. +If there is more than one `ExitCodeGenerator`, the first non-zero exit code that is generated is used. To control the order in which the generators are called, additionally implement the `org.springframework.core.Ordered` interface or use the `org.springframework.core.annotation.Order` annotation.