Skip to content

Commit 336ecb8

Browse files
committed
Fix a minor mistake in the generator and docs
1 parent 050c57a commit 336ecb8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docs/Operator-Matrix.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,3 @@ Operator | `Flowable` | `Observable` | `Maybe` | `Single` | `Completable` |
238238
`zip`|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png)|
239239
`zipArray`|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png)|
240240
`zipWith`|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png)|
241-
esent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png)|
242-
`zipWith`|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![present](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_on.png)|![absent](https://raw.github.com/wiki/ReactiveX/RxJava/images/checkmark_off.png)|

docs/_Sidebar.md.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* [Transformation](https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables)
2222
* [Utility](https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators)
2323
* [Notable 3rd party Operators (Alphabetical List)](https://github.com/ReactiveX/RxJava/wiki/Alphabetical-List-of-3rd-party-Operators)
24+
* [Operator matrix](https://github.com/ReactiveX/RxJava/wiki/Operator-Matrix)
2425
* [Plugins](https://github.com/ReactiveX/RxJava/wiki/Plugins)
2526
* [How to Contribute](https://github.com/ReactiveX/RxJava/wiki/How-to-Contribute)
2627
* [Writing operators](https://github.com/ReactiveX/RxJava/wiki/Writing-operators-for-2.0)

src/test/java/io/reactivex/rxjava3/internal/util/OperatorMatrixGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException {
6161
List<String> sortedOperators = new ArrayList<>(operatorSet);
6262
sortedOperators.sort(Comparator.naturalOrder());
6363

64-
try (PrintWriter out = new PrintWriter(Files.newBufferedWriter(Paths.get("docs", "Operator-Matrix.md"), StandardOpenOption.CREATE))) {
64+
try (PrintWriter out = new PrintWriter(Files.newBufferedWriter(Paths.get("docs", "Operator-Matrix.md"), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING))) {
6565
out.print("Operator |");
6666
for (Class<?> clazz : CLASSES) {
6767
out.print(" `");

0 commit comments

Comments
 (0)