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 edff8bcad8e..ae350ba21d1 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 @@ -134,7 +134,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 0a4d703a0ea..9e206cba187 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 @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -201,7 +201,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);