From 3a401bb9312a877dedcb71b7e208ccb4b7eabfed Mon Sep 17 00:00:00 2001 From: ximinghui <83504424+ximinghui@users.noreply.github.com> Date: Tue, 27 May 2025 12:04:13 +0800 Subject: [PATCH] Corrected Access Modifier of configureJacksonObjectMapper Signed-off-by: ximinghui <83504424+ximinghui@users.noreply.github.com> --- src/main/antora/modules/ROOT/pages/representations.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/representations.adoc b/src/main/antora/modules/ROOT/pages/representations.adoc index 0a68c466b..6262c0161 100644 --- a/src/main/antora/modules/ROOT/pages/representations.adoc +++ b/src/main/antora/modules/ROOT/pages/representations.adoc @@ -36,7 +36,7 @@ To add your own Jackson configuration to the `ObjectMapper` used by Spring Data [source,java] ---- @Override -protected void configureJacksonObjectMapper(ObjectMapper objectMapper) { +public void configureJacksonObjectMapper(ObjectMapper objectMapper) { objectMapper.registerModule(new SimpleModule("MyCustomModule") {