Skip to content

Commit 89d506d

Browse files
authored
2.x: Fix javadocs & imports (#6504)
1 parent 15e52bb commit 89d506d

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

gradle/javadoc_cleanup.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ task javadocCleanup(dependsOn: "javadoc") doLast {
1212
fixJavadocFile(rootProject.file('build/docs/javadoc/io/reactivex/subjects/ReplaySubject.html'));
1313
fixJavadocFile(rootProject.file('build/docs/javadoc/io/reactivex/processors/ReplayProcessor.html'));
1414
fixJavadocFile(rootProject.file('build/docs/javadoc/io/reactivex/plugins/RxJavaPlugins.html'));
15+
16+
fixJavadocFile(rootProject.file('build/docs/javadoc/io/reactivex/parallel/ParallelFlowable.html'));
1517
}
1618

1719
def fixJavadocFile(file) {

src/main/java/io/reactivex/processors/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/**
1818
* Classes representing so-called hot backpressure-aware sources, aka <strong>processors</strong>,
19-
* that implement the {@link FlowableProcessor} class,
19+
* that implement the {@link io.reactivex.processors.FlowableProcessor FlowableProcessor} class,
2020
* the Reactive Streams {@link org.reactivestreams.Processor Processor} interface
2121
* to allow forms of multicasting events to one or more subscribers as well as consuming another
2222
* Reactive Streams {@link org.reactivestreams.Publisher Publisher}.
@@ -33,7 +33,7 @@
3333
* </ul>
3434
* <p>
3535
* The non-backpressured variants of the {@code FlowableProcessor} class are called
36-
* {@link io.reactivex.Subject}s and reside in the {@code io.reactivex.subjects} package.
36+
* {@link io.reactivex.subjects.Subject}s and reside in the {@code io.reactivex.subjects} package.
3737
* @see io.reactivex.subjects
3838
*/
3939
package io.reactivex.processors;

src/main/java/io/reactivex/schedulers/Schedulers.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public static Scheduler single() {
299299
* a time delay or periodically will use the {@link #single()} scheduler for the timed waiting
300300
* before posting the actual task to the given executor.
301301
* <p>
302-
* Tasks submitted to the {@link Scheduler.Worker} of this {@code Scheduler} are also not interruptible. Use the
302+
* Tasks submitted to the {@link io.reactivex.Scheduler.Worker Scheduler.Worker} of this {@code Scheduler} are also not interruptible. Use the
303303
* {@link #from(Executor, boolean)} overload to enable task interruption via this wrapper.
304304
* <p>
305305
* If the provided executor supports the standard Java {@link ExecutorService} API,
@@ -332,7 +332,7 @@ public static Scheduler single() {
332332
* }
333333
* </code></pre>
334334
* <p>
335-
* This type of scheduler is less sensitive to leaking {@link Scheduler.Worker} instances, although
335+
* This type of scheduler is less sensitive to leaking {@link io.reactivex.Scheduler.Worker Scheduler.Worker} instances, although
336336
* not disposing a worker that has timed/delayed tasks not cancelled by other means may leak resources and/or
337337
* execute those tasks "unexpectedly".
338338
* <p>
@@ -350,7 +350,7 @@ public static Scheduler from(@NonNull Executor executor) {
350350
* Wraps an {@link Executor} into a new Scheduler instance and delegates {@code schedule()}
351351
* calls to it.
352352
* <p>
353-
* The tasks scheduled by the returned {@link Scheduler} and its {@link Scheduler.Worker}
353+
* The tasks scheduled by the returned {@link Scheduler} and its {@link io.reactivex.Scheduler.Worker Scheduler.Worker}
354354
* can be optionally interrupted.
355355
* <p>
356356
* If the provided executor doesn't support any of the more specific standard Java executor
@@ -388,14 +388,14 @@ public static Scheduler from(@NonNull Executor executor) {
388388
* }
389389
* </code></pre>
390390
* <p>
391-
* This type of scheduler is less sensitive to leaking {@link Scheduler.Worker} instances, although
391+
* This type of scheduler is less sensitive to leaking {@link io.reactivex.Scheduler.Worker Scheduler.Worker} instances, although
392392
* not disposing a worker that has timed/delayed tasks not cancelled by other means may leak resources and/or
393393
* execute those tasks "unexpectedly".
394394
* <p>
395395
* Note that this method returns a new {@link Scheduler} instance, even for the same {@link Executor} instance.
396396
* @param executor
397397
* the executor to wrap
398-
* @param interruptibleWorker if {@code true} the tasks submitted to the {@link Scheduler.Worker} will
398+
* @param interruptibleWorker if {@code true} the tasks submitted to the {@link io.reactivex.Scheduler.Worker Scheduler.Worker} will
399399
* be interrupted when the task is disposed.
400400
* @return the new Scheduler wrapping the Executor
401401
* @since 2.2.6 - experimental

src/test/java/io/reactivex/internal/operators/maybe/MaybeDoOnTerminateTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import io.reactivex.exceptions.TestException;
2020
import io.reactivex.functions.Action;
2121
import io.reactivex.observers.TestObserver;
22-
import io.reactivex.plugins.RxJavaPlugins;
23-
import io.reactivex.subjects.PublishSubject;
2422
import org.junit.Test;
2523

2624
import java.util.List;

src/test/java/io/reactivex/internal/operators/single/SingleDoOnTerminateTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import io.reactivex.exceptions.TestException;
2020
import io.reactivex.functions.Action;
2121
import io.reactivex.observers.TestObserver;
22-
import org.junit.Assert;
2322
import org.junit.Test;
2423

2524
import java.util.List;

0 commit comments

Comments
 (0)