You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definitely! Personally I hate throwing NPEs. NPE can be thrown because you've forgotten to inject sth and your test (if you test for an NPE exception to be thrown) will pass.
Checks.checkNotNull emits NPE. I think it is better to emit IAE, because:
This change is not backwards compatible.
@bric3, thoughts?
The text was updated successfully, but these errors were encountered: