Skip to content
New issue

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

3.x: Add missing NonNull annotations to the standard methods #6766

Closed
6 tasks
akarnokd opened this issue Dec 17, 2019 · 1 comment · Fixed by #6840
Closed
6 tasks

3.x: Add missing NonNull annotations to the standard methods #6766

akarnokd opened this issue Dec 17, 2019 · 1 comment · Fixed by #6840
Assignees
Milestone

Comments

@akarnokd
Copy link
Member

akarnokd commented Dec 17, 2019

Including the return type, parameters and type argument usages on lambdas.

  • Flowable
  • Observable
  • Maybe
  • Single
  • Completable
  • ParallelFlowable

Please do them in separate PRs.

@akarnokd
Copy link
Member Author

We can annotate the type arguments on our base interfaces and those should be enough for most of the usage places, however, some 3rd party interfaces need explicit annotations:

  • Publisher<@NonNull
  • Iterable<@NonNull
  • Stream<@NonNull

The original pattern could be Type<AnotherType or Type<? extends locations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant