Skip to content

Commit

Permalink
Polishing, fix checkstyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbasle committed Dec 27, 2024
1 parent eb9ee9f commit a2bc1de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1796,8 +1796,8 @@ public void addAll(String headerName, List<? extends String> headerValues) {
* 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);
Expand Down Expand Up @@ -1865,10 +1865,10 @@ public Map<String, String> asSingleValueMap() {
* 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<String, String> asMultiValueMap() {
Expand Down Expand Up @@ -1956,8 +1956,8 @@ public List<String> get(String headerName) {
/**
* 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);
Expand Down

0 comments on commit a2bc1de

Please sign in to comment.