Commit 2516dc03 authored by Tommy Ludwig's avatar Tommy Ludwig Committed by Stephane Nicoll

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
parent f09bbb5e
......@@ -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;
......
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