Skip to content

Commit 17f6e84

Browse files
authored
2.x Wiki: Remove mention of i.r.f.Functions (#6241)
The `io.reactivex.functions.Functions` utility method has been made internal a long ago and should not be mentioned.
1 parent 2ad63c4 commit 17f6e84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/What's-different-in-2.0.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,6 @@ We followed the naming convention of Java 8 by defining `io.reactivex.functions.
294294

295295
In addition, operators requiring a predicate no longer use `Func1<T, Boolean>` but have a separate, primitive-returning type of `Predicate<T>` (allows better inlining due to no autoboxing).
296296

297-
The `io.reactivex.functions.Functions` utility class offers common function sources and conversions to `Function<Object[], R>`.
298-
299297
# Subscriber
300298

301299
The Reactive-Streams specification has its own Subscriber as an interface. This interface is lightweight and combines request management with cancellation into a single interface `org.reactivestreams.Subscription` instead of having `rx.Producer` and `rx.Subscription` separately. This allows creating stream consumers with less internal state than the quite heavy `rx.Subscriber` of 1.x.
@@ -969,4 +967,4 @@ Flowable.just(1, 2, 3)
969967
.doFinally(() -> System.out.println("Finally"))
970968
.take(2) // cancels the above after 2 elements
971969
.subscribe(System.out::println);
972-
```
970+
```

0 commit comments

Comments
 (0)