Skip to content

Commit 329e8c9

Browse files
authored
Update Disposable.java
Trigger a snapshot javadoc update
1 parent bfe4aba commit 329e8c9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/main/java/io/reactivex/rxjava3/disposables/Disposable.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public interface Disposable {
4040
/**
4141
* Construct a {@code Disposable} by wrapping a {@link Runnable} that is
4242
* executed exactly once when the {@code Disposable} is disposed.
43-
* @param run the Runnable to wrap
44-
* @return the new Disposable instance
43+
* @param run the {@code Runnable} to wrap
44+
* @return the new {@code Disposable} instance
4545
* @throws NullPointerException if {@code run} is {@code null}
4646
* @since 3.0.0
4747
*/
@@ -54,8 +54,8 @@ static Disposable fromRunnable(@NonNull Runnable run) {
5454
/**
5555
* Construct a {@code Disposable} by wrapping a {@link Action} that is
5656
* executed exactly once when the {@code Disposable} is disposed.
57-
* @param action the Action to wrap
58-
* @return the new Disposable instance
57+
* @param action the {@code Action} to wrap
58+
* @return the new {@code Disposable} instance
5959
* @throws NullPointerException if {@code action} is {@code null}
6060
* @since 3.0.0
6161
*/
@@ -70,8 +70,8 @@ static Disposable fromAction(@NonNull Action action) {
7070
* cancelled exactly once when the {@code Disposable} is disposed.
7171
* <p>
7272
* The {@code Future} is cancelled with {@code mayInterruptIfRunning == true}.
73-
* @param future the Future to wrap
74-
* @return the new Disposable instance
73+
* @param future the {@code Future} to wrap
74+
* @return the new {@code Disposable} instance
7575
* @throws NullPointerException if {@code future} is {@code null}
7676
* @see #fromFuture(Future, boolean)
7777
* @since 3.0.0
@@ -85,9 +85,9 @@ static Disposable fromFuture(@NonNull Future<?> future) {
8585
/**
8686
* Construct a {@code Disposable} by wrapping a {@link Future} that is
8787
* cancelled exactly once when the {@code Disposable} is disposed.
88-
* @param future the Future to wrap
88+
* @param future the {@code Future} to wrap
8989
* @param allowInterrupt if true, the future cancel happens via {@code Future.cancel(true)}
90-
* @return the new Disposable instance
90+
* @return the new {@code Disposable} instance
9191
* @throws NullPointerException if {@code future} is {@code null}
9292
* @since 3.0.0
9393
*/
@@ -100,8 +100,8 @@ static Disposable fromFuture(@NonNull Future<?> future, boolean allowInterrupt)
100100
/**
101101
* Construct a {@code Disposable} by wrapping a {@link Subscription} that is
102102
* cancelled exactly once when the {@code Disposable} is disposed.
103-
* @param subscription the Runnable to wrap
104-
* @return the new Disposable instance
103+
* @param subscription the {@code Runnable} to wrap
104+
* @return the new {@code Disposable} instance
105105
* @throws NullPointerException if {@code subscription} is {@code null}
106106
* @since 3.0.0
107107
*/
@@ -114,8 +114,8 @@ static Disposable fromSubscription(@NonNull Subscription subscription) {
114114
/**
115115
* Construct a {@code Disposable} by wrapping an {@link AutoCloseable} that is
116116
* closed exactly once when the {@code Disposable} is disposed.
117-
* @param autoCloseable the AutoCloseable to wrap
118-
* @return the new Disposable instance
117+
* @param autoCloseable the {@code AutoCloseable} to wrap
118+
* @return the new {@code Disposable} instance
119119
* @throws NullPointerException if {@code autoCloseable} is {@code null}
120120
* @since 3.0.0
121121
*/
@@ -128,8 +128,8 @@ static Disposable fromAutoCloseable(@NonNull AutoCloseable autoCloseable) {
128128
/**
129129
* Construct an {@link AutoCloseable} by wrapping a {@code Disposable} that is
130130
* disposed when the returned {@code AutoCloseable} is closed.
131-
* @param disposable the Disposable instance
132-
* @return the new AutoCloseable instance
131+
* @param disposable the {@code Disposable} instance
132+
* @return the new {@code AutoCloseable} instance
133133
* @throws NullPointerException if {@code disposable} is {@code null}
134134
* @since 3.0.0
135135
*/

0 commit comments

Comments
 (0)