Skip to content

Commit d80ab0b

Browse files
authored
Merge pull request eugenp#9 from pandachris/BAEL-2283
Removed unnecessary line
2 parents bbdc8ab + cbdd31a commit d80ab0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rsocket/src/main/java/com/baeldung/rsocket/FireNForgetClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public void sendData() {
3838
Flux.interval(Duration.ofMillis(50))
3939
.take(data.size())
4040
.map(this::createFloatPayload)
41-
.map(socket::fireAndForget)
42-
.flatMap(Function.identity())
41+
.flatMap(socket::fireAndForget)
4342
.blockLast();
4443
}
4544

0 commit comments

Comments
 (0)