Commit 2c1e70de authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #19028 from dreis2211

* pr/19028:
  Fix syntax error in configuration metadata sample in docs

Closes gh-19028
parents 01dde4fc 355505d2
...@@ -749,12 +749,12 @@ Consider the following class: ...@@ -749,12 +749,12 @@ Consider the following class:
[source,java,indent=0,subs="verbatim,quotes,attributes"] [source,java,indent=0,subs="verbatim,quotes,attributes"]
---- ----
@ConfigurationProperties(prefix="acme.messaging") @ConfigurationProperties(prefix = "acme.messaging")
public class MessagingProperties { 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 // ... 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