Use correct RFC number for ProblemDetail support in Javadoc

Closes gh-29302
This commit is contained in:
Yanming Zhou 2022-10-12 10:33:01 +08:00 committed by Sam Brannen
parent ba0a835880
commit 19cbba6b34
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import org.springframework.lang.Nullable;
/**
* Representation of a complete RFC 7807 error response including status,
* headers, and an RFC 7808 formatted {@link ProblemDetail} body. Allows any
* headers, and an RFC 7807 formatted {@link ProblemDetail} body. Allows any
* exception to expose HTTP error response information.
*
* <p>{@link ErrorResponseException} is a default implementation of this

View File

@ -26,7 +26,7 @@ import org.springframework.lang.Nullable;
/**
* {@link RuntimeException} that implements {@link ErrorResponse} to expose
* an HTTP status, response headers, and a body formatted as an RFC 7808
* an HTTP status, response headers, and a body formatted as an RFC 7807
* {@link ProblemDetail}.
*
* <p>The exception can be used as is, or it can be extended as a more specific