From a2bc1ded73417332ac474f72f034f55f6f1e4ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Fri, 27 Dec 2024 14:00:38 +0100 Subject: [PATCH] Polishing, fix checkstyle errors --- .../src/main/java/org/springframework/http/HttpHeaders.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 9386b760de..a494099845 100644 --- a/spring-web/src/main/java/org/springframework/http/HttpHeaders.java +++ b/spring-web/src/main/java/org/springframework/http/HttpHeaders.java @@ -1796,8 +1796,8 @@ public class HttpHeaders implements Serializable { * introduced. See {@link #putAll(HttpHeaders)} to replace the list of * values of each individual header name instead. * @param headers the headers to add - * @see #putAll(HttpHeaders) * @since 7.0 + * @see #putAll(HttpHeaders) */ public void addAll(HttpHeaders headers) { this.headers.addAll(headers.headers); @@ -1865,10 +1865,10 @@ public class HttpHeaders implements Serializable { * of a header name can surface depending on letter casing but each such * entry has the full {@code List} of values. * @return a MultiValueMap representation of these headers + * @since 7.0 * @deprecated This method is provided for backward compatibility with APIs * that would only accept maps. Generally avoid using HttpHeaders as a Map * or MultiValueMap. - * @since 7.0 */ @Deprecated public MultiValueMap asMultiValueMap() { @@ -1956,8 +1956,8 @@ public class HttpHeaders implements Serializable { /** * Put all the entries from the given HttpHeaders into this HttpHeaders. * @param headers the given headers - * @see #put(String, List) * @since 7.0 + * @see #put(String, List) */ public void putAll(HttpHeaders headers) { this.headers.putAll(headers.headers);