Skip to content

Commit aac4dbf

Browse files
izeyesbrannen
authored andcommitted
Polish HttpHeadersAssert
See gh-34286 Signed-off-by: Johnny Lim <[email protected]>
1 parent 82bc4ff commit aac4dbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-test/src/main/java/org/springframework/test/http/HttpHeadersAssert.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public HttpHeadersAssert doesNotContainsHeaders(String... names) {
100100
/**
101101
* Verify that the actual HTTP headers contain a header with the given
102102
* {@code name} and {@link String} {@code value}.
103-
* @param name the name of the cookie
103+
* @param name the name of the header
104104
* @param value the expected value of the header
105105
*/
106106
public HttpHeadersAssert hasValue(String name, String value) {
@@ -113,8 +113,8 @@ public HttpHeadersAssert hasValue(String name, String value) {
113113

114114
/**
115115
* Verify that the actual HTTP headers contain a header with the given
116-
* {@code name} and {@link Long} {@code value}.
117-
* @param name the name of the cookie
116+
* {@code name} and {@code long} {@code value}.
117+
* @param name the name of the header
118118
* @param value the expected value of the header
119119
*/
120120
public HttpHeadersAssert hasValue(String name, long value) {
@@ -128,7 +128,7 @@ public HttpHeadersAssert hasValue(String name, long value) {
128128
/**
129129
* Verify that the actual HTTP headers contain a header with the given
130130
* {@code name} and {@link Instant} {@code value}.
131-
* @param name the name of the cookie
131+
* @param name the name of the header
132132
* @param value the expected value of the header
133133
*/
134134
public HttpHeadersAssert hasValue(String name, Instant value) {

0 commit comments

Comments
 (0)