Polish deprecation message

Unfortunately it is too late to flag HttpMessageConverters for removal
as it would be a breaking change in a patch release.

See gh-46411
This commit is contained in:
Stéphane Nicoll
2026-07-24 15:26:50 +02:00
parent b9ebff0084
commit 648e2fb5f9
@@ -53,10 +53,11 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupp
* @see #HttpMessageConverters(HttpMessageConverter...)
* @see #HttpMessageConverters(Collection)
* @see #getConverters()
* @deprecated since 4.0 in favor of {@link ClientHttpMessageConvertersCustomizer} and
* @deprecated since 4.0.0 for removal in 4.2.0 in favor of
* {@link ClientHttpMessageConvertersCustomizer} and
* {@link ServerHttpMessageConvertersCustomizer}.
*/
@Deprecated(since = "4.0")
@Deprecated(since = "4.0.0")
public class HttpMessageConverters implements Iterable<HttpMessageConverter<?>> {
private static final List<Class<?>> NON_REPLACING_CONVERTERS;