From 2f91baa71ca17c10b6a852bf2a8af4f57fe4c616 Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Fri, 9 Jan 2026 09:38:53 +0000 Subject: [PATCH] Polishing in ApiVersionResolver --- .../web/reactive/accept/ApiVersionResolver.java | 2 -- .../web/reactive/accept/SyncApiVersionResolver.java | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/accept/ApiVersionResolver.java b/spring-webflux/src/main/java/org/springframework/web/reactive/accept/ApiVersionResolver.java index 0d468b3357f..186abc062d7 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/accept/ApiVersionResolver.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/accept/ApiVersionResolver.java @@ -33,8 +33,6 @@ public interface ApiVersionResolver { /** * Resolve the version for the given exchange. - * This method wraps the synchronous {@code resolveVersion} method - * and provides a reactive alternative. * @param exchange the current exchange * @return {@code Mono} emitting the version value, or an empty {@code Mono} * @since 7.0.3 diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/accept/SyncApiVersionResolver.java b/spring-webflux/src/main/java/org/springframework/web/reactive/accept/SyncApiVersionResolver.java index bca707274d2..9cabcbf1373 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/accept/SyncApiVersionResolver.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/accept/SyncApiVersionResolver.java @@ -22,8 +22,8 @@ import reactor.core.publisher.Mono; import org.springframework.web.server.ServerWebExchange; /** - * An extension of {@link ApiVersionResolver}s for implementations that can - * resolve the version in an imperative way without blocking. + * Extension of {@link ApiVersionResolver} for implementations that resolve the + * version in an imperative way without blocking. * * @author Rossen Stoyanchev * @since 7.0.3