Document an idea for an RxJava check

This commit is contained in:
Stephan Schroevers
2018-08-10 09:59:47 +02:00
parent 6c573c55dd
commit f6eec2650f

View File

@@ -204,6 +204,9 @@ The following is a list of checks we'd like to see implemented:
- An RxJava-specific check which flags `expr.firstOrError()` calls and suggests
`expr.switchIfEmpty(Single.error(...))`, so that an application-specific
exception is thrown instead of `NoSuchElementException`.
- An RxJava-specific check which flags use of `#assertValueSet` without
`#assertValueCount`, as the former method doesn't do what one may intuitivily
expect it to do. See ReactiveX/RxJava#6151.
[autorefactor]: https://autorefactor.org
[bettercodehub]: https://bettercodehub.com