From 14b1a6fdcb2c430f87605ced1163819c85a74b60 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 23 Mar 2019 23:48:47 +0900 Subject: [PATCH] Polish docs (#22645) --- .../support/AbstractNamedValueMethodArgumentResolver.java | 2 +- .../reactive/AbstractNamedValueMethodArgumentResolver.java | 2 +- src/docs/asciidoc/web/webmvc.adoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java index 5cd8e8bcf2c..9e7ceff9550 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java @@ -45,7 +45,7 @@ import org.springframework.util.ClassUtils; * Expression Language {@code #{...}} expressions which will be resolved if a * {@link ConfigurableBeanFactory} is supplied to the class constructor. * - *

A {@link ConversionService} is used to to convert resolved String argument + *

A {@link ConversionService} is used to convert resolved String argument * value to the expected target method parameter type. * * @author Rossen Stoyanchev diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/reactive/AbstractNamedValueMethodArgumentResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/reactive/AbstractNamedValueMethodArgumentResolver.java index 4aa2c0b69e5..69ca2c0770f 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/reactive/AbstractNamedValueMethodArgumentResolver.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/reactive/AbstractNamedValueMethodArgumentResolver.java @@ -45,7 +45,7 @@ import org.springframework.util.ClassUtils; * Expression Language {@code #{...}} expressions which will be resolved if a * {@link ConfigurableBeanFactory} is supplied to the class constructor. * - *

A {@link ConversionService} is used to to convert resolved String argument + *

A {@link ConversionService} is used to convert resolved String argument * value to the expected target method parameter type. * * @author Rossen Stoyanchev diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index 763f5ac9f3f..1c5002e0219 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -3709,7 +3709,7 @@ suitable under load. If you plan to stream with a reactive type, you should use The Servlet API does not provide any notification when a remote client goes away. Therefore, while streaming to the response, whether through <> -or <, it is important to send data periodically, +or <>, it is important to send data periodically, since the write fails if the client has disconnected. The send could take the form of an empty (comment-only) SSE event or any other data that the other side would have to interpret as a heartbeat and ignore.