@@ -1798,7 +1798,7 @@ public void addAll(String headerName, List<? extends String> headerValues) {
17981798 }
17991799
18001800 /**
1801- * Add all the values of the given {@code HttpHeaders} to the current header .
1801+ * Add all name-value pairs of the given {@code HttpHeaders}.
18021802 * <p>As values are represented as a {@code List}, duplicate values can be
18031803 * introduced. See {@link #putAll(HttpHeaders)} to replace the list of
18041804 * values of each individual header name instead.
@@ -1823,8 +1823,8 @@ public void set(String headerName, @Nullable String headerValue) {
18231823 }
18241824
18251825 /**
1826- * Set all single header value from the given Map under each of their
1827- * corresponding name .
1826+ * Set all single header values from the given Map under each of their
1827+ * corresponding names .
18281828 * @param values the name-single-value pairs
18291829 * @see #putAll(Map)
18301830 */
@@ -1973,8 +1973,7 @@ public void putAll(HttpHeaders headers) {
19731973 }
19741974
19751975 /**
1976- * Put all the entries from the given {@code MultiValueMap} into this
1977- * HttpHeaders.
1976+ * Put all the entries from the given {@code Map} into this HttpHeaders.
19781977 * @param headers the given headers
19791978 * @see #put(String, List)
19801979 */
@@ -2014,7 +2013,7 @@ public int size() {
20142013 * @param action the action to be performed for each entry
20152014 */
20162015 public void forEach (BiConsumer <? super String , ? super List <String >> action ) {
2017- this . headerSet ().forEach (e -> action .accept (e .getKey (), e .getValue ()));
2016+ headerSet ().forEach (e -> action .accept (e .getKey (), e .getValue ()));
20182017 }
20192018
20202019 /**
0 commit comments