Update relaxed binding documentation sample

Include getters and setters with the sample class.

Fixes gh-2813
This commit is contained in:
Phillip Webb 2015-04-13 11:38:42 -07:00
parent 08959286e2
commit dd19dd70c5

View File

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