From 6020cb67d3b69a53376f03770878d057571a4925 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 18 Sep 2018 11:29:28 +0100 Subject: [PATCH] Polish javadoc of status method on WebFluxTags and WebMvcTags --- .../boot/actuate/metrics/web/reactive/server/WebFluxTags.java | 4 ++-- .../boot/actuate/metrics/web/servlet/WebMvcTags.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java index 519d4d3826..75b92a4846 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java @@ -60,10 +60,10 @@ public final class WebFluxTags { } /** - * Creates a {@code method} tag based on the response status of the given + * Creates a {@code status} tag based on the response status of the given * {@code exchange}. * @param exchange the exchange - * @return the "status" tag derived from the response status + * @return the status tag derived from the response status */ public static Tag status(ServerWebExchange exchange) { HttpStatus status = exchange.getResponse().getStatusCode(); diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcTags.java index 74249012d2..f0a0a6a862 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcTags.java @@ -64,7 +64,7 @@ public final class WebMvcTags { } /** - * Creates a {@code method} tag based on the status of the given {@code response}. + * Creates a {@code status} tag based on the status of the given {@code response}. * @param response the HTTP response * @return the status tag derived from the status of the response */