Skip to content

Commit 41f8b69

Browse files
izeyejhoeller
authored andcommitted
Polish gh-30013
See gh-30013
1 parent b4ed3fb commit 41f8b69

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

spring-context/src/main/java/org/springframework/scheduling/config/DefaultScheduledTaskObservationConvention.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* Default implementation for {@link ScheduledTaskObservationConvention}.
2828
* @author Brian Clozel
29-
* @since 6.1.0
29+
* @since 6.1
3030
*/
3131
public class DefaultScheduledTaskObservationConvention implements ScheduledTaskObservationConvention {
3232

spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTaskObservationContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* Context that holds information for observation metadata collection
2727
* during the {@link ScheduledTaskObservationDocumentation#TASKS_SCHEDULED_EXECUTION execution of scheduled tasks}.
2828
* @author Brian Clozel
29-
* @since 6.1.0
29+
* @since 6.1
3030
*/
3131
public class ScheduledTaskObservationContext extends Observation.Context {
3232

spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTaskObservationConvention.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Interface for an {@link ObservationConvention} for
2424
* {@link ScheduledTaskObservationDocumentation#TASKS_SCHEDULED_EXECUTION scheduled task executions}.
2525
* @author Brian Clozel
26-
* @since 6.1.0
26+
* @since 6.1
2727
*/
2828
public interface ScheduledTaskObservationConvention extends ObservationConvention<ScheduledTaskObservationContext> {
2929

spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTaskObservationDocumentation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* <p>This class is used by automated tools to document KeyValues attached to the {@code @Scheduled} observations.
2929
*
3030
* @author Brian Clozel
31-
* @since 6.1.0
31+
* @since 6.1
3232
*/
3333
public enum ScheduledTaskObservationDocumentation implements ObservationDocumentation {
3434

spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTaskRegistrar.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public TaskScheduler getScheduler() {
138138

139139
/**
140140
* Return the {@link ObservationRegistry} for this registrar.
141-
* @since 6.1.0
141+
* @since 6.1
142142
*/
143143
@Nullable
144144
public ObservationRegistry getObservationRegistry() {
@@ -147,7 +147,7 @@ public ObservationRegistry getObservationRegistry() {
147147

148148
/**
149149
* Configure an {@link ObservationRegistry} to record observations for scheduled tasks.
150-
* @since 6.1.0
150+
* @since 6.1
151151
*/
152152
public void setObservationRegistry(@Nullable ObservationRegistry observationRegistry) {
153153
this.observationRegistry = observationRegistry;

spring-context/src/main/java/org/springframework/scheduling/support/ScheduledMethodRunnable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class ScheduledMethodRunnable implements Runnable {
5656
* @param target the target instance to call the method on
5757
* @param method the target method to call
5858
* @param observationRegistrySupplier a supplier for the observation registry to use
59-
* @since 6.1.0
59+
* @since 6.1
6060
*/
6161
public ScheduledMethodRunnable(Object target, Method method, Supplier<ObservationRegistry> observationRegistrySupplier) {
6262
this.target = target;

spring-web/src/main/java/org/springframework/web/server/adapter/HttpWebHandlerAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public ForwardedHeaderTransformer getForwardedHeaderTransformer() {
206206
}
207207

208208
/**
209-
* Configure a {@link ObservationRegistry} for recording server exchange observations.
209+
* Configure an {@link ObservationRegistry} for recording server exchange observations.
210210
* By default, a {@link ObservationRegistry#NOOP no-op} instance will be used.
211211
* @param observationRegistry the observation registry to use
212212
* @since 6.1

spring-web/src/main/java/org/springframework/web/server/adapter/WebHttpHandlerBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public boolean hasForwardedHeaderTransformer() {
371371
}
372372

373373
/**
374-
* Configure a {@link ObservationRegistry} for recording server exchange observations.
374+
* Configure an {@link ObservationRegistry} for recording server exchange observations.
375375
* By default, a {@link ObservationRegistry#NOOP no-op} registry will be configured.
376376
* @param observationRegistry the observation registry
377377
* @since 6.1

spring-web/src/main/java/org/springframework/web/server/handler/ExceptionHandlingWebHandler.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public class ExceptionHandlingWebHandler extends WebHandlerDecorator {
4141
/**
4242
* Name of the {@link ServerWebExchange#getAttributes() attribute} that
4343
* contains the exception handled by {@link WebExceptionHandler WebExceptionHandlers}.
44-
* @since 6.0.8
44+
* @since 6.1
4545
*/
46-
public static String HANDLED_WEB_EXCEPTION = ExceptionHandlingWebHandler.class.getSimpleName() + ".handledException";
46+
public static final String HANDLED_WEB_EXCEPTION = ExceptionHandlingWebHandler.class.getSimpleName() + ".handledException";
4747

4848
private final List<WebExceptionHandler> exceptionHandlers;
4949

spring-web/src/test/java/org/springframework/web/server/adapter/HttpWebHandlerAdapterObservabilityTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private static class HttpStatusSuccessStubWebHandler implements WebHandler {
105105

106106
private Optional<ServerRequestObservationContext> observationContext;
107107

108-
public HttpStatusSuccessStubWebHandler(HttpStatus responseStatus) {
108+
HttpStatusSuccessStubWebHandler(HttpStatus responseStatus) {
109109
this.responseStatus = responseStatus;
110110
}
111111

0 commit comments

Comments
 (0)