diff --git a/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java b/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java index c28fa9336dd..bea8dd41edd 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2024 the original author or authors. + * Copyright 2002-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ import org.springframework.util.ClassUtils; * applying the mapping and mirroring rules of an {@link AnnotationTypeMapping}. * *
Root attribute values are extracted from a source object using a supplied - * {@code BiFunction}. This allows various different annotation models to be + * {@link ValueExtractor}. This allows various different annotation models to be * supported by the same class. For example, the attributes source might be an * actual {@link Annotation} instance where methods on the annotation instance * are {@linkplain AnnotationUtils#invokeAnnotationMethod(Method, Object) invoked} diff --git a/spring-core/src/test/java/org/springframework/core/convert/support/GenericConversionServiceTests.java b/spring-core/src/test/java/org/springframework/core/convert/support/GenericConversionServiceTests.java index dbe84aaa1fc..77a72350808 100644 --- a/spring-core/src/test/java/org/springframework/core/convert/support/GenericConversionServiceTests.java +++ b/spring-core/src/test/java/org/springframework/core/convert/support/GenericConversionServiceTests.java @@ -582,6 +582,7 @@ class GenericConversionServiceTests { } @Test + @SuppressWarnings("unchecked") void stringToListOfMapConverterWithFallbackMatch() { conversionService.addConverter(new StringToListOfMapConverter());