@@ -8746,7 +8746,7 @@ public final <K> Flowable<T> distinct(Function<? super T, K> keySelector,
87468746 * {@code CharSequence}s or {@code List}s where the objects will actually have the same
87478747 * references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
87488748 * 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)) )`.
87508750 * <dl>
87518751 * <dt><b>Backpressure:</b></dt>
87528752 * <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() {
87898789 * {@code CharSequence}s or {@code List}s where the objects will actually have the same
87908790 * references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
87918791 * 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)) )`.
87938793 * <dl>
87948794 * <dt><b>Backpressure:</b></dt>
87958795 * <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
88288828 * {@code CharSequence}s or {@code List}s where the objects will actually have the same
88298829 * references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
88308830 * 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)) )`.
88328832 * <dl>
88338833 * <dt><b>Backpressure:</b></dt>
88348834 * <dd>The operator doesn't interfere with backpressure which is determined by the source {@code Publisher}'s
0 commit comments