Commit 4fbc6d81 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish docs

Closes gh-4768
parent e25727ff
...@@ -170,7 +170,7 @@ methods, and those added using `setSources()` are inspected to see if they have ...@@ -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 `@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 enough to be used in all phases of the `ApplicationContext` lifecycle. Properties added
in this way have lower 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: You can also provide System properties (or environment variables) to change the behavior:
......
...@@ -225,7 +225,7 @@ For example, the following declaration: ...@@ -225,7 +225,7 @@ For example, the following declaration:
[source,groovy,indent=0] [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 Will pick up `custom-bom-1.0.0.pom` in a Maven repository under
...@@ -236,8 +236,8 @@ For example: ...@@ -236,8 +236,8 @@ For example:
[source,java,indent=0] [source,java,indent=0]
---- ----
`@DependencyManagementBom(["com.example.custom-bom:1.0.0", @DependencyManagementBom(["com.example.custom-bom:1.0.0",
"com.example.another-bom:1.0.0"])` "com.example.another-bom:1.0.0"])
---- ----
indicates that dependency management in `another-bom` will override the dependency indicates that dependency management in `another-bom` will override the dependency
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment