We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using RxJava 2.2.19
Observable.just(...) .take(1) .map {... } .kotlinExtensionMethod() .subscribe({... }, {...})
Should be no IgnoredReturnValue detekted becase we use the results of take and map
IgnoredReturnValue
take
map
This triggered IgnoredReturnValue on take and map
We have to disable this rule as a workaround.
The text was updated successfully, but these errors were encountered:
Same issue with chained method call:
assertThat(debt.devicesDebts) .extracting(Function<DevicesDebts, Instant?> { it.sentDate }) .containsOnlyNulls()
Here extracting(..) is marked with @CheckReturnValue but containsOnlyNulls() is not. So value returned by extracting(..) is consumed.
extracting(..)
@CheckReturnValue
containsOnlyNulls()
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Expected Behavior
Using RxJava 2.2.19
Should be no
IgnoredReturnValue
detekted becase we use the results oftake
andmap
Observed Behavior
This triggered
IgnoredReturnValue
ontake
andmap
Context
We have to disable this rule as a workaround.
Your Environment
The text was updated successfully, but these errors were encountered: