From 82f6e9b3dbcea845c0f8b5fa8da6bfe97130b02e Mon Sep 17 00:00:00 2001 From: Kyriakos Tharrouniatis Date: Mon, 17 Feb 2020 14:03:55 +0000 Subject: [PATCH] Update test comment --- .../kotlin/net/corda/node/utilities/ObservablesTests.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/node/src/test/kotlin/net/corda/node/utilities/ObservablesTests.kt b/node/src/test/kotlin/net/corda/node/utilities/ObservablesTests.kt index 6319fe77d7..2666e40245 100644 --- a/node/src/test/kotlin/net/corda/node/utilities/ObservablesTests.kt +++ b/node/src/test/kotlin/net/corda/node/utilities/ObservablesTests.kt @@ -290,10 +290,11 @@ class ObservablesTests { } /** - * A FlowSafeSubscriber that is NOT a leaf in a Subscribers structure, if it throws at onNext, it will not call its onError. + * A [FlowSafeSubscriber] that is NOT a leaf in a subscribers structure will not call [onError] + * if an error occurs during its [onNext] event processing. * - * The reason why it should not call its onError is: if it wraps a [PublishSubject], calling [FlowSafeSubscriber.onError] - * will then call [PublishSubject.onError] which will shut down all the Subscribers under the [PublishSubject]. + * The reason why it should not call its onError is: if it wraps a [PublishSubject], calling [FlowSafeSubscriber.onError] + * will then call [PublishSubject.onError] which will shut down all the subscribers under the [PublishSubject]. */ @Test fun `FlowSafeSubject wrapped with a FlowSafeSubscriber will preserve the structure, if one of them is unsafe and it throws`() {