Skip to content

Commit d5df097

Browse files
xiexedrstoyanchev
authored andcommitted
Small typo fixes in WebSocketHandler doc
1 parent 931581a commit d5df097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* @Override
4545
* public Mono<Void> handle(WebSocketSession session) {
4646
*
47-
* Flux<WebSocketMessage> input = session.receive()
47+
* Flux<WebSocketMessage> output = session.receive()
4848
* .doOnNext(message -> {
4949
* // ...
5050
* })
@@ -89,7 +89,7 @@
8989
* completion of that flow. That means there is no need to check if the
9090
* connection is open, since Reactive Streams signals will terminate activity.
9191
* The inbound stream receives a completion/error signal, and the outbound
92-
* stream receives receives a cancellation signal.
92+
* stream receives a cancellation signal.
9393
*
9494
* @author Rossen Stoyanchev
9595
* @since 5.0

0 commit comments

Comments
 (0)