Skip to content

Commit 6020cb6

Browse files
committed
Polish javadoc of status method on WebFluxTags and WebMvcTags
1 parent d7d5cbf commit 6020cb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public static Tag method(ServerWebExchange exchange) {
6060
}
6161

6262
/**
63-
* Creates a {@code method} tag based on the response status of the given
63+
* Creates a {@code status} tag based on the response status of the given
6464
* {@code exchange}.
6565
* @param exchange the exchange
66-
* @return the "status" tag derived from the response status
66+
* @return the status tag derived from the response status
6767
*/
6868
public static Tag status(ServerWebExchange exchange) {
6969
HttpStatus status = exchange.getResponse().getStatusCode();

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcTags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static Tag method(HttpServletRequest request) {
6464
}
6565

6666
/**
67-
* Creates a {@code method} tag based on the status of the given {@code response}.
67+
* Creates a {@code status} tag based on the status of the given {@code response}.
6868
* @param response the HTTP response
6969
* @return the status tag derived from the status of the response
7070
*/

0 commit comments

Comments
 (0)