Hi Igniters,

I want to revisit the use of the @Nullable annotation within the project.
What I am noticing more and more, is that @Nullable annotation just causes
extra warnings in IDE, especially on public API, causing most of the users
and developers to disable it.

I want to propose the following policy:
- Use @Nullable for method parameters on public API for documentation
purposes.
- Do not use @Nullable for return types on public API to avoid unnecessary
warnings.
- Do not use @Nullable within internal implementation logic to avoid
unnecessary clutter in code.

Thoughts?

D.

Reply via email to