Skip to content

Commit 4523d01

Browse files
committed
Fix Javadoc for HttpHeaders#setContentLanguage
Closes gh-23051
1 parent 0267bcb commit 4523d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/http/HttpHeaders.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ public ContentDisposition getContentDisposition() {
869869
/**
870870
* Set the {@link Locale} of the content language,
871871
* as specified by the {@literal Content-Language} header.
872-
* <p>Use {@code set(CONTENT_LANGUAGE, list)} if you need
872+
* <p>Use {@code put(CONTENT_LANGUAGE, list)} if you need
873873
* to set multiple content languages.</p>
874874
* @since 5.0
875875
*/

0 commit comments

Comments
 (0)