Commit 355505d2 authored by dreis2211's avatar dreis2211 Committed by Stephane Nicoll

Fix syntax error in configuration metadata sample in docs

See gh-19028
parent 01dde4fc
......@@ -749,12 +749,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<String> addresses = new ArrayList<>(Arrays.asList("a", "b")) ;
private List<String> addresses = new ArrayList<>(Arrays.asList("a", "b"));
private ContainerType = ContainerType.SIMPLE;
private ContainerType containerType = ContainerType.SIMPLE;
// ... getter and setters
......
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