Skip to content

Commit 089af04

Browse files
committed
Fix spelling errors and clarify a couple of sentences
1 parent 8dad5d0 commit 089af04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tck/src/main/java/org/reactivestreams/tck/support/PublisherVerificationRules.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public interface PublisherVerificationRules {
2929
*/
3030
void required_validate_boundedDepthOfOnNextAndRequestRecursion() throws Exception;
3131
/**
32-
* Asks for a {@code Publisher} that should emit exaclty one item and complete (both within a
32+
* Asks for a {@code Publisher} that should emit exactly one item and complete (both within a
3333
* timeout specified by {@link org.reactivestreams.tck.TestEnvironment#defaultTimeoutMillis()}).
3434
* <p>The test is not executed if {@link org.reactivestreams.tck.PublisherVerification#maxElementsFromPublisher()} returns zero.
3535
* <p>This test mostly ensures that the {@code Publisher} implementation is actually operational.
@@ -49,7 +49,7 @@ public interface PublisherVerificationRules {
4949
*/
5050
void required_createPublisher1MustProduceAStreamOfExactly1Element() throws Throwable;
5151
/**
52-
* Asks for a {@code Publisher} that should emit exaclty three items and complete (all within a
52+
* Asks for a {@code Publisher} that should emit exactly three items and complete (all within a
5353
* timeout specified by {@link org.reactivestreams.tck.TestEnvironment#defaultTimeoutMillis()}).
5454
* <p>The test is not executed if {@link org.reactivestreams.tck.PublisherVerification#maxElementsFromPublisher()} is less than 3.
5555
* <p>This test mostly ensures that the {@code Publisher} implementation is actually operational.
@@ -338,7 +338,7 @@ public interface PublisherVerificationRules {
338338
void required_spec303_mustNotAllowUnboundedRecursion() throws Throwable;
339339
/**
340340
* Currently, this test is skipped because a {@code request} could enter into a synchronous computation via {@code onNext}
341-
* legally and otherwise there is no common agreement on what constitutes as heavy computation.
341+
* legally and otherwise there is no common agreement how to detect such heavy computation reliably.
342342
* @throws Exception allow arbitrary exceptions to be thrown by the implementation of this test
343343
*/
344344
void untested_spec304_requestShouldNotPerformHeavyComputations() throws Exception;
@@ -381,7 +381,7 @@ public interface PublisherVerificationRules {
381381
* <p>Note that this test expects the {@code IllegalArgumentException} being signalled through {@code onError}, not by
382382
* throwing from {@code request()} (which is also forbidden) or signalling the error by any other means (i.e., through the
383383
* Thread.currentThread().getUncaughtExceptionHandler() for example).
384-
* <p>Note also that requesting and emission may happen concurrently and honoring this rule may require extra serialization within
384+
* <p>Note also that requesting and emission may happen concurrently and honoring this rule may require extra coordination within
385385
* the {@code Publisher}.
386386
* <p>If this test fails, the following could be checked within the {@code Publisher} implementation:
387387
* <ul>

0 commit comments

Comments
 (0)