diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java index 4484c4eaa9..3eabf46d86 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java @@ -167,7 +167,7 @@ public abstract class AbstractListenerReadPublisher implements Publisher { * Invoked after an I/O read error from the underlying server or after a * cancellation signal from the downstream consumer to allow sub-classes * to discard any current cached data they might have. - * @since 5.1.2 + * @since 5.0.11 */ protected abstract void discardData(); diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java index f6cd1877d8..81b70cf915 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java @@ -241,7 +241,7 @@ public abstract class AbstractListenerWriteProcessor implements ProcessorPatterns like {@code "/static/**"} or {@code "/css/{filename:\\w+\\.css}"} * are allowed. See {@link org.springframework.web.util.pattern.PathPattern} * for more details on the syntax. - * @return a {@link ResourceHandlerRegistration} to use to further - * configure the registered resource handler + * @return a {@link ResourceHandlerRegistration} to use to further configure + * the registered resource handler */ public ResourceHandlerRegistration addResourceHandler(String... patterns) { ResourceHandlerRegistration registration = new ResourceHandlerRegistration(this.resourceLoader, patterns);