Skip to content

Commit 19cbba6

Browse files
quaffsbrannen
authored andcommitted
Use correct RFC number for ProblemDetail support in Javadoc
Closes gh-29302
1 parent ba0a835 commit 19cbba6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/ErrorResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/**
2929
* Representation of a complete RFC 7807 error response including status,
30-
* headers, and an RFC 7808 formatted {@link ProblemDetail} body. Allows any
30+
* headers, and an RFC 7807 formatted {@link ProblemDetail} body. Allows any
3131
* exception to expose HTTP error response information.
3232
*
3333
* <p>{@link ErrorResponseException} is a default implementation of this

spring-web/src/main/java/org/springframework/web/ErrorResponseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* {@link RuntimeException} that implements {@link ErrorResponse} to expose
29-
* an HTTP status, response headers, and a body formatted as an RFC 7808
29+
* an HTTP status, response headers, and a body formatted as an RFC 7807
3030
* {@link ProblemDetail}.
3131
*
3232
* <p>The exception can be used as is, or it can be extended as a more specific

0 commit comments

Comments
 (0)