From 6b140ddbd61da06ddc5052c7b8a389b440948d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 25 Jul 2025 14:28:32 +0200 Subject: [PATCH] Polish See gh-46540 --- .../autoconfigure/HttpMessageConvertersProperties.java | 2 +- .../boot/observation/autoconfigure/ObservationHandlerGroup.java | 2 +- .../observation/autoconfigure/ObservationHandlerGroups.java | 2 +- .../autoconfigure/TracingAndMeterObservationHandlerGroup.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/spring-boot-http-converter/src/main/java/org/springframework/boot/http/converter/autoconfigure/HttpMessageConvertersProperties.java b/module/spring-boot-http-converter/src/main/java/org/springframework/boot/http/converter/autoconfigure/HttpMessageConvertersProperties.java index fb141e1fec3..47ffe28c21f 100644 --- a/module/spring-boot-http-converter/src/main/java/org/springframework/boot/http/converter/autoconfigure/HttpMessageConvertersProperties.java +++ b/module/spring-boot-http-converter/src/main/java/org/springframework/boot/http/converter/autoconfigure/HttpMessageConvertersProperties.java @@ -31,7 +31,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; public class HttpMessageConvertersProperties { /** - * The charset to use for String conversion. + * Charset to use for String conversion. */ private Charset stringEncodingCharset = StandardCharsets.UTF_8; diff --git a/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroup.java b/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroup.java index fb318c0ca44..85a86639d14 100644 --- a/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroup.java +++ b/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroup.java @@ -65,7 +65,7 @@ public interface ObservationHandlerGroup extends Comparable handlerType(); /** - * Static factory method to create a {@link ObservationHandlerGroup} with members of + * Static factory method to create an {@link ObservationHandlerGroup} with members of * the given handler type. * @param the handler type * @param handlerType the handler type diff --git a/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroups.java b/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroups.java index 688dc705e88..5bf93b999d5 100644 --- a/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroups.java +++ b/module/spring-boot-observation/src/main/java/org/springframework/boot/observation/autoconfigure/ObservationHandlerGroups.java @@ -29,7 +29,7 @@ import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; /** - * A collection {@link ObservationHandlerGroup} instance and supporting registration + * A collection of {@link ObservationHandlerGroup} instances and supporting registration * logic. * * @author Andy Wilkinson diff --git a/module/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/autoconfigure/TracingAndMeterObservationHandlerGroup.java b/module/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/autoconfigure/TracingAndMeterObservationHandlerGroup.java index f475f66ed20..57276a6b9ed 100644 --- a/module/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/autoconfigure/TracingAndMeterObservationHandlerGroup.java +++ b/module/spring-boot-tracing/src/main/java/org/springframework/boot/tracing/autoconfigure/TracingAndMeterObservationHandlerGroup.java @@ -32,7 +32,7 @@ import org.springframework.boot.observation.autoconfigure.ObservationHandlerGrou /** * {@link ObservationHandlerGroup} that considers both {@link TracingObservationHandler} * and {@link MeterObservationHandler} types as members. This group takes precedence over - * any regular {@link MeterObservationHandler} group in order to use ensure + * any regular {@link MeterObservationHandler} group in order to ensure * {@link TracingAwareMeterObservationHandler} wrapping is applied during registration. * * @author Phillip Webb