From 3e629330966e38a35783538c0347c4dbc4ffb0a5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 11 Jul 2016 10:40:13 -0700 Subject: [PATCH] Polish --- .../src/main/asciidoc/spring-boot-features.adoc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 2d883756b0..aa7057baaa 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -957,10 +957,9 @@ section for details. [[boot-features-external-config-vs-value]] ==== @ConfigurationProperties vs. @Value - -`@Value` is a core container feature and it does not provide the same features as type-safe -Configuration Properties. The table below summarizes the features that are supported by -`@ConfigurationProperties` and `@Value`: +`@Value` is a core container feature and it does not provide the same features as +type-safe Configuration Properties. The table below summarizes the features that are +supported by `@ConfigurationProperties` and `@Value`: [cols="4,2,2"] |=== @@ -977,11 +976,10 @@ Configuration Properties. The table below summarizes the features that are suppo | `SpEL` evaluation | No | Yes - |=== If you define a set of configuration keys for your own components, we recommend you to -group them in a pojo annotated with `@ConfigurationProperties`. Please also be aware +group them in a POJO annotated with `@ConfigurationProperties`. Please also be aware that since `@Value` does not support relaxed binding, it isn't a great candidate if you need to provide the value using environment variables.