diff --git a/spring-web/src/main/java/org/springframework/http/HttpHeaders.java b/spring-web/src/main/java/org/springframework/http/HttpHeaders.java index 20ce83d5ad..54d024f6a9 100644 --- a/spring-web/src/main/java/org/springframework/http/HttpHeaders.java +++ b/spring-web/src/main/java/org/springframework/http/HttpHeaders.java @@ -886,7 +886,7 @@ public class HttpHeaders implements MultiValueMap, Serializable /** * Set the {@link Locale} of the content language, * as specified by the {@literal Content-Language} header. - *

Use {@code set(CONTENT_LANGUAGE, list)} if you need + *

Use {@code put(CONTENT_LANGUAGE, list)} if you need * to set multiple content languages.

* @since 5.0 */