Fix documentation example

Previously, the nested private static class would cause an error at
startup stating that it was not accessible when trying to bind the
property from the environment. The nested class should be public.

Closes gh-4323
This commit is contained in:
Tommy Ludwig 2015-10-28 19:29:54 +09:00 committed by Stephane Nicoll
parent f09bbb5e1d
commit 2516dc033f
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ as `@Valid` to trigger its validation. For example, building upon the above
// ... getters and setters
private static class RemoteAddress {
public static class RemoteAddress {
@NotEmpty
public String hostname;