Skip to content

Commit 0cb8978

Browse files
Fix the typos (#7178)
Co-authored-by: Wayne_Yang <[email protected]>
1 parent d7805f8 commit 0cb8978

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public static Scheduler single() {
367367
* because such circumstances prevent RxJava from progressing flow-related activities correctly.
368368
* If the {@link Executor#execute(Runnable)} or {@link ExecutorService#submit(Callable)} throws,
369369
* the {@code RejectedExecutionException} is routed to the global error handler via
370-
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-reladed problems, it is recommended
370+
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-related problems, it is recommended
371371
* all flows using the returned {@code Scheduler} to be canceled/disposed before the underlying
372372
* {@code Executor} is shut down. To avoid problems due to the {@code Executor} having a bounded-queue,
373373
* it is recommended to rephrase the flow to utilize backpressure as the means to limit outstanding work.
@@ -441,7 +441,7 @@ public static Scheduler from(@NonNull Executor executor) {
441441
* because such circumstances prevent RxJava from progressing flow-related activities correctly.
442442
* If the {@link Executor#execute(Runnable)} or {@link ExecutorService#submit(Callable)} throws,
443443
* the {@code RejectedExecutionException} is routed to the global error handler via
444-
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-reladed problems, it is recommended
444+
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-related problems, it is recommended
445445
* all flows using the returned {@code Scheduler} to be canceled/disposed before the underlying
446446
* {@code Executor} is shut down. To avoid problems due to the {@code Executor} having a bounded-queue,
447447
* it is recommended to rephrase the flow to utilize backpressure as the means to limit outstanding work.
@@ -521,7 +521,7 @@ public static Scheduler from(@NonNull Executor executor, boolean interruptibleWo
521521
* because such circumstances prevent RxJava from progressing flow-related activities correctly.
522522
* If the {@link Executor#execute(Runnable)} or {@link ExecutorService#submit(Callable)} throws,
523523
* the {@code RejectedExecutionException} is routed to the global error handler via
524-
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-reladed problems, it is recommended
524+
* {@link RxJavaPlugins#onError(Throwable)}. To avoid shutdown-related problems, it is recommended
525525
* all flows using the returned {@code Scheduler} to be canceled/disposed before the underlying
526526
* {@code Executor} is shut down. To avoid problems due to the {@code Executor} having a bounded-queue,
527527
* it is recommended to rephrase the flow to utilize backpressure as the means to limit outstanding work.

0 commit comments

Comments
 (0)