Skip to content

Commit 053b95c

Browse files
committed
Refer to non-deprecated Jackson 2.5+ addMixIn method in javadoc
1 parent d16beb0 commit 053b95c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public Jackson2ObjectMapperBuilder filters(FilterProvider filters) {
303303
* @param mixinSource class (or interface) whose annotations are to be "added"
304304
* to target's annotations as value
305305
* @since 4.1.2
306-
* @see com.fasterxml.jackson.databind.ObjectMapper#addMixInAnnotations(Class, Class)
306+
* @see com.fasterxml.jackson.databind.ObjectMapper#addMixIn(Class, Class)
307307
*/
308308
public Jackson2ObjectMapperBuilder mixIn(Class<?> target, Class<?> mixinSource) {
309309
this.mixIns.put(target, mixinSource);
@@ -316,7 +316,7 @@ public Jackson2ObjectMapperBuilder mixIn(Class<?> target, Class<?> mixinSource)
316316
* to effectively override as key and mix-in classes (or interface) whose
317317
* annotations are to be "added" to target's annotations as value.
318318
* @since 4.1.2
319-
* @see com.fasterxml.jackson.databind.ObjectMapper#addMixInAnnotations(Class, Class)
319+
* @see com.fasterxml.jackson.databind.ObjectMapper#addMixIn(Class, Class)
320320
*/
321321
public Jackson2ObjectMapperBuilder mixIns(Map<Class<?>, Class<?>> mixIns) {
322322
this.mixIns.putAll(mixIns);

0 commit comments

Comments
 (0)