diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc index 23ddc25c53..83c266bb29 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc @@ -752,12 +752,12 @@ Consider the following class: [source,java,indent=0,subs="verbatim,quotes,attributes"] ---- - @ConfigurationProperties(prefix="acme.messaging") + @ConfigurationProperties(prefix = "acme.messaging") public class MessagingProperties { - private List addresses = new ArrayList<>(Arrays.asList("a", "b")) ; + private List addresses = new ArrayList<>(Arrays.asList("a", "b")); - private ContainerType = ContainerType.SIMPLE; + private ContainerType containerType = ContainerType.SIMPLE; // ... getter and setters