Fix typo in RSocket reference documentation

This commit fixes a typo in a Java code snippet of
the RSocket reference documentation.

Closes gh-23762
This commit is contained in:
Minho Hwang
2019-10-06 23:34:27 +09:00
committed by Sam Brannen
parent 3f9359aa83
commit d1aee0e869

View File

@@ -689,7 +689,7 @@ you need to share configuration between a client and a server in the same proces
@Bean
public RSocketStrategies rsocketStrategies() {
retrun RSocketStrategies.builder()
return RSocketStrategies.builder()
.encoders(encoders -> encoders.add(new Jackson2CborEncoder))
.decoders(decoders -> decoders.add(new Jackson2CborDecoder))
.routeMatcher(new PathPatternRouteMatcher())