From f29eed89ca9a4fa9fa417d9035e0b6cdf085409c Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 19 Jul 2022 19:57:24 +0100 Subject: [PATCH] Reinstate merge of pull request #31713 from dreis2211 This reverts commit 8deef6cb42b436208dfd137836c5c7a047a2f930. --- .../actuate/metrics/web/client/RestTemplateExchangeTags.java | 4 ++-- .../metrics/web/reactive/client/WebClientExchangeTags.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/client/RestTemplateExchangeTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java index f0043f5b9e0..68c311a7c4f 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java @@ -84,7 +84,7 @@ public final class RestTemplateExchangeTags { /** * Creates a {@code status} {@code Tag} derived from the - * {@link ClientHttpResponse#getRawStatusCode() status} of the given {@code response}. + * {@link ClientHttpResponse#getStatusCode() status} of the given {@code response}. * @param response the response * @return the status tag */ @@ -120,7 +120,7 @@ public final class RestTemplateExchangeTags { /** * Creates an {@code outcome} {@code Tag} derived from the - * {@link ClientHttpResponse#getRawStatusCode() status} of the given {@code response}. + * {@link ClientHttpResponse#getStatusCode() status} of the given {@code response}. * @param response the response * @return the outcome tag * @since 2.2.0 diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java index ac11b00e39b..3f8c2c4b180 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java @@ -111,7 +111,7 @@ public final class WebClientExchangeTags { /** * Creates an {@code outcome} {@code Tag} derived from the - * {@link ClientResponse#rawStatusCode() status} of the given {@code response}. + * {@link ClientResponse#statusCode() status} of the given {@code response}. * @param response the response * @return the outcome tag * @since 2.2.0