From 4fbc6d810ac441d1259f9b550f9e37ec39281705 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 12 Dec 2015 16:57:25 +0900 Subject: [PATCH] Polish docs Closes gh-4768 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 6348b3c97c2..c3b30509339 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 0762ac69784..f9390950421 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