diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 8a10800bc0..33ac70dbae 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -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;