Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
*
* @author Oliver Gierke
* @author Mark Paluch
* @author Marcus Voltolim
* @since 4.0
*/
public class SpringDataJackson3Configuration implements SpringDataJackson3Modules {
Expand Down Expand Up @@ -95,6 +96,8 @@ public PageModule(@Nullable SpringDataWebSettings settings) {

} else {
setMixInAnnotation(PageImpl.class, WrappingMixing.class);
org.springframework.data.util.ClassUtils.ifPresent("org.springframework.cloud.openfeign.support.PageJacksonModule$SimplePageImpl", null,
targetType -> setMixInAnnotation(targetType, WrappingMixing.class));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*
* @author Oliver Gierke
* @author Mark Paluch
* @author Marcus Voltolim
* @deprecated since 4.0, in favor of {@link SpringDataJackson3Configuration} which uses Jackson 3.
*/
@SuppressWarnings("removal")
Expand Down Expand Up @@ -99,7 +100,9 @@ public PageModule(@Nullable SpringDataWebSettings settings) {

} else {
setMixInAnnotation(PageImpl.class, WrappingMixing.class);
}
org.springframework.data.util.ClassUtils.ifPresent("org.springframework.cloud.openfeign.support.PageJacksonModule$SimplePageImpl", null,
targetType -> setMixInAnnotation(targetType, WrappingMixing.class));
}
}

/**
Expand Down