diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 6348b3c97c..c3b3050933 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -170,7 +170,7 @@ methods, and those added using `setSources()` are inspected to see if they have `@PropertySources`, and if they do, those properties are added to the `Environment` early enough to be used in all phases of the `ApplicationContext` lifecycle. Properties added in this way have lower -priority than any added using the default locations (e.g. `application.properties), system properties, environment variables or the command line. +priority than any added using the default locations (e.g. `application.properties`), system properties, environment variables or the command line. You can also provide System properties (or environment variables) to change the behavior: diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc index 0762ac6978..f939095042 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc @@ -225,7 +225,7 @@ For example, the following declaration: [source,groovy,indent=0] ---- - `@DependencyManagementBom("com.example.custom-bom:1.0.0")` + @DependencyManagementBom("com.example.custom-bom:1.0.0") ---- Will pick up `custom-bom-1.0.0.pom` in a Maven repository under @@ -236,8 +236,8 @@ For example: [source,java,indent=0] ---- - `@DependencyManagementBom(["com.example.custom-bom:1.0.0", - "com.example.another-bom:1.0.0"])` + @DependencyManagementBom(["com.example.custom-bom:1.0.0", + "com.example.another-bom:1.0.0"]) ---- indicates that dependency management in `another-bom` will override the dependency