Skip to content

Commit 72f24e2

Browse files
authored
3.x: Fix marbles of first(T) (#7400)
1 parent 2cab59d commit 72f24e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/main/java/io/reactivex/rxjava3/core/Flowable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10148,7 +10148,7 @@ public final Maybe<T> firstElement() {
1014810148
* Returns a {@link Single} that emits only the very first item emitted by this {@code Flowable}, or a default
1014910149
* item if this {@code Flowable} completes without emitting anything.
1015010150
* <p>
10151-
* <img width="640" height="285" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/first.s.png" alt="">
10151+
* <img width="640" height="298" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Flowable.first.s.png" alt="">
1015210152
* <dl>
1015310153
* <dt><b>Backpressure:</b></dt>
1015410154
* <dd>The operator honors backpressure from downstream and consumes the current {@code Flowable} in a bounded manner.</dd>

Diff for: src/main/java/io/reactivex/rxjava3/core/Observable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8953,7 +8953,7 @@ public final Maybe<T> firstElement() {
89538953
* Returns a {@link Single} that emits only the very first item emitted by the current {@code Observable}, or a default item
89548954
* if the current {@code Observable} completes without emitting any items.
89558955
* <p>
8956-
* <img width="640" height="285" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/first.s.png" alt="">
8956+
* <img width="640" height="283" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/first.s.png" alt="">
89578957
* <dl>
89588958
* <dt><b>Scheduler:</b></dt>
89598959
* <dd>{@code first} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)