Fix some Sonar smells

This commit is contained in:
Artem Bilan
2020-11-30 12:00:59 -05:00
parent c12acb9ff8
commit 97e1692a36
4 changed files with 32 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ public class FluxMessageChannel extends AbstractMessageChannel
.filter(Boolean::booleanValue)
.doOnNext(this.subscribedSignal::tryEmitNext)
.repeatWhenEmpty((repeat) ->
this.active ? repeat.delayElements(Duration.ofMillis(100)) : repeat)
this.active ? repeat.delayElements(Duration.ofMillis(100)) : repeat) // NOSONAR
.subscribe());
}