Fix syntax error in configuration metadata sample in docs

See gh-19028
pull/19101/head
dreis2211 5 years ago committed by Stephane Nicoll
parent 01dde4fca3
commit 355505d236

@ -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

Loading…
Cancel
Save