Polish HttpStatus 103 EARLY_HINTS javadocs (#29841)

This commit polishes the EARLY_HINTS javadocs a bit:
 - fix a typo
 - fix `since` tags to include the patch version

See gh-29816
This commit is contained in:
Johnny Lim
2023-01-18 22:50:02 +09:00
committed by GitHub
parent 9ebd1e8d64
commit 2fe75c1a24
4 changed files with 8 additions and 4 deletions

View File

@@ -148,13 +148,14 @@ public class StatusResultMatchers {
* @see #isEarlyHints()
* @deprecated in favor of {@link #isEarlyHints()}
*/
@Deprecated(since = "6.0")
@Deprecated(since = "6.0.5")
public ResultMatcher isCheckpoint() {
return isEarlyHints();
}
/**
* Assert the response status code is {@code HttpStatus.EARLY_HINTS} (103).
* @since 6.0.5
*/
public ResultMatcher isEarlyHints() {
return matcher(HttpStatus.valueOf(103));