Skip to content

Commit 999ee67

Browse files
authored
3.x: cleanup of some Javadoc parts (#6709)
1 parent df2cdb7 commit 999ee67

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

src/test/java/io/reactivex/rxjava3/flowable/FlowableBackpressureTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,10 +634,10 @@ public boolean test(Integer t1) {
634634
}
635635

636636
/**
637-
* A synchronous Observable that will emit incrementing integers as requested.
637+
* A synchronous Flowable that will emit incrementing integers as requested.
638638
*
639-
* @param counter
640-
* @return
639+
* @param counter the shared value to be incremented
640+
* @return the incrementing Flowable instance
641641
*/
642642
private static Flowable<Integer> incrementingIntegers(final AtomicInteger counter) {
643643
return incrementingIntegers(counter, null);
@@ -689,8 +689,8 @@ public void cancel() {
689689
/**
690690
* Incrementing int without backpressure.
691691
*
692-
* @param counter
693-
* @return
692+
* @param counter the shared value to increment
693+
* @return the Flowable doing the increments
694694
*/
695695
private static Flowable<Integer> firehose(final AtomicInteger counter) {
696696
return Flowable.unsafeCreate(new Publisher<Integer>() {

src/test/java/io/reactivex/rxjava3/schedulers/AbstractSchedulerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ public void subscribe(Subscriber<? super String> subscriber) {
466466
/**
467467
* Used to determine if onNext is being invoked concurrently.
468468
*
469-
* @param <T>
469+
* @param <T> the element type
470470
*/
471471
private static class ConcurrentObserverValidator<T> extends DefaultSubscriber<T> {
472472

src/test/java/io/reactivex/rxjava3/schedulers/SchedulerTestHelper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ private SchedulerTestHelper() {
2828
/**
2929
* Verifies that the given Scheduler does not deliver handled errors to its executing Thread's
3030
* {@link java.lang.Thread.UncaughtExceptionHandler}.
31-
* <p>
32-
* This is a companion test to {@link #testUnhandledErrorIsDeliveredToThreadHandler}, and is needed only for the
33-
* same Schedulers.
3431
*/
3532
static void handledErrorIsNotDeliveredToThreadHandler(Scheduler scheduler) throws InterruptedException {
3633
Thread.UncaughtExceptionHandler originalHandler = Thread.getDefaultUncaughtExceptionHandler();

0 commit comments

Comments
 (0)