@@ -8746,7 +8746,7 @@ public final <K> Flowable<T> distinct(Function<? super T, K> keySelector,
8746
8746
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
8747
8747
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
8748
8748
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8749
- * for example using `map(CharSequence::toString)` or `map(Collections:: unmodifiableList)`.
8749
+ * for example using `map(CharSequence::toString)` or `map(list -> Collections. unmodifiableList(new ArrayList<>(list)) )`.
8750
8750
* <dl>
8751
8751
* <dt><b>Backpressure:</b></dt>
8752
8752
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
@@ -8789,7 +8789,7 @@ public final Flowable<T> distinctUntilChanged() {
8789
8789
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
8790
8790
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
8791
8791
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8792
- * for example using `map(CharSequence::toString)` or `map(Collections:: unmodifiableList)`.
8792
+ * for example using `map(CharSequence::toString)` or `map(list -> Collections. unmodifiableList(new ArrayList<>(list)) )`.
8793
8793
* <dl>
8794
8794
* <dt><b>Backpressure:</b></dt>
8795
8795
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
@@ -8828,7 +8828,7 @@ public final <K> Flowable<T> distinctUntilChanged(Function<? super T, K> keySele
8828
8828
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
8829
8829
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
8830
8830
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
8831
- * for example using `map(CharSequence::toString)` or `map(Collections:: unmodifiableList)`.
8831
+ * for example using `map(CharSequence::toString)` or `map(list -> Collections. unmodifiableList(new ArrayList<>(list)) )`.
8832
8832
* <dl>
8833
8833
* <dt><b>Backpressure:</b></dt>
8834
8834
* <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
0 commit comments