From 241261b6b66fb3066a1e21e9b8a2ff0c80f3855a Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 13 Sep 2022 14:00:08 +0200 Subject: [PATCH] Polish See gh-28341 --- .../main/java/org/springframework/web/client/RestTemplate.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java b/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java index 6660b33fec9b..7c9190d98cfd 100644 --- a/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java +++ b/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java @@ -29,6 +29,7 @@ import java.util.stream.Stream; import io.micrometer.observation.Observation; +import io.micrometer.observation.ObservationConvention; import io.micrometer.observation.ObservationRegistry; import org.springframework.core.ParameterizedTypeReference; @@ -349,7 +350,7 @@ public void setObservationRegistry(ObservationRegistry observationRegistry) { } /** - * Configure an {@link Observation.ObservationConvention} that sets the name of the + * Configure an {@link ObservationConvention} that sets the name of the * {@link Observation observation} as well as its {@link io.micrometer.common.KeyValues} * extracted from the {@link ClientHttpObservationContext}. * If none set, the {@link DefaultClientHttpObservationConvention default convention} will be used.