Skip to content

Commit 5aef7fe

Browse files
authored
Javadoc: fix examples using markdown instead of @code (#6346)
1 parent 5278124 commit 5aef7fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/io/reactivex/Flowable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8846,7 +8846,7 @@ public final <K> Flowable<T> distinct(Function<? super T, K> keySelector,
88468846
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
88478847
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
88488848
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8849-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
8849+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
88508850
* <dl>
88518851
* <dt><b>Backpressure:</b></dt>
88528852
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
@@ -8889,7 +8889,7 @@ public final Flowable<T> distinctUntilChanged() {
88898889
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
88908890
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
88918891
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8892-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
8892+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
88938893
* <dl>
88948894
* <dt><b>Backpressure:</b></dt>
88958895
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
@@ -8928,7 +8928,7 @@ public final <K> Flowable<T> distinctUntilChanged(Function<? super T, K> keySele
89288928
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
89298929
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
89308930
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8931-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
8931+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
89328932
* <dl>
89338933
* <dt><b>Backpressure:</b></dt>
89348934
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s

src/main/java/io/reactivex/Observable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7879,7 +7879,7 @@ public final <K> Observable<T> distinct(Function<? super T, K> keySelector, Call
78797879
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
78807880
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
78817881
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
7882-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
7882+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
78837883
* <dl>
78847884
* <dt><b>Scheduler:</b></dt>
78857885
* <dd>{@code distinctUntilChanged} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -7918,7 +7918,7 @@ public final Observable<T> distinctUntilChanged() {
79187918
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
79197919
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
79207920
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
7921-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
7921+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
79227922
* <dl>
79237923
* <dt><b>Scheduler:</b></dt>
79247924
* <dd>{@code distinctUntilChanged} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -7953,7 +7953,7 @@ public final <K> Observable<T> distinctUntilChanged(Function<? super T, K> keySe
79537953
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
79547954
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
79557955
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
7956-
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list)))`.
7956+
* for example using {@code map(CharSequence::toString)} or {@code map(list -> Collections.unmodifiableList(new ArrayList<>(list)))}.
79577957
* <dl>
79587958
* <dt><b>Scheduler:</b></dt>
79597959
* <dd>{@code distinctUntilChanged} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)