Update relaxed binding documentation sample
Include getters and setters with the sample class. Fixes gh-2813
This commit is contained in:
@@ -636,6 +636,14 @@ For example, given the following `@ConfigurationProperties` class:
|
||||
|
||||
private String firstName;
|
||||
|
||||
public String getFirstName() {
|
||||
return this.firstName;
|
||||
}
|
||||
|
||||
public void setFirstName(String firstName) {
|
||||
this.firstName = firstName;
|
||||
}
|
||||
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user