diff --git a/Part 2 - Sequence Basics/2. Reducing a sequence.md b/Part 2 - Sequence Basics/2. Reducing a sequence.md index e22c0b0..4febf8a 100644 --- a/Part 2 - Sequence Basics/2. Reducing a sequence.md +++ b/Part 2 - Sequence Basics/2. Reducing a sequence.md @@ -20,7 +20,7 @@ public final Observable filter(Func1 predicate) ![](https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/filter.png) -We will use `filter` to create a sequence of numbers and filter out all the even ones, keeping only odd values. +We will use `filter` to create a sequence of numbers and filter out all the odd ones, keeping only even values. ```java Observable values = Observable.range(0,10); diff --git a/Part 2 - Sequence Basics/5. Transformation of sequences.md b/Part 2 - Sequence Basics/5. Transformation of sequences.md index 95bccd8..335074c 100644 --- a/Part 2 - Sequence Basics/5. Transformation of sequences.md +++ b/Part 2 - Sequence Basics/5. Transformation of sequences.md @@ -57,7 +57,7 @@ Map: 6 Map: Completed ``` -This was something we could do without `map`, for example by using `Observable.range(3,4)`. In the following, we will do something more practical. The producer will emit numeric values as a string, like many UIs often do, and then use `map` to convert them to a more processable integer format. +This was something we could do without `map`, for example by using `Observable.range(3,7)`. In the following, we will do something more practical. The producer will emit numeric values as a string, like many UIs often do, and then use `map` to convert them to a more processable integer format. ```java Observable values =