Skip to content

Commit 241261b

Browse files
committed
Polish
See gh-28341
1 parent 5f62d1d commit 241261b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-web/src/main/java/org/springframework/web/client/RestTemplate.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import java.util.stream.Stream;
3030

3131
import io.micrometer.observation.Observation;
32+
import io.micrometer.observation.ObservationConvention;
3233
import io.micrometer.observation.ObservationRegistry;
3334

3435
import org.springframework.core.ParameterizedTypeReference;
@@ -349,7 +350,7 @@ public void setObservationRegistry(ObservationRegistry observationRegistry) {
349350
}
350351

351352
/**
352-
* Configure an {@link Observation.ObservationConvention} that sets the name of the
353+
* Configure an {@link ObservationConvention} that sets the name of the
353354
* {@link Observation observation} as well as its {@link io.micrometer.common.KeyValues}
354355
* extracted from the {@link ClientHttpObservationContext}.
355356
* If none set, the {@link DefaultClientHttpObservationConvention default convention} will be used.

0 commit comments

Comments
 (0)