@Nullable warning: ".. is probably null" should be ".. could be null"

(Posting here, for native speakers to review)


If foo is @Nullable, on
foo.bar()
IDEA will give you such a warning:

"Argument 'foo' is probably null"

It sounds much too affirmative for me. I'd rather read something like:
"Argument 'foo' could be null"
or
"Argument 'foo' may be null"

What do you think?


Alain

1 comment
Comment actions Permalink

Could've swore I already reported that, but evidently not. Yes, the current warning is to strong.

--Dave Griffith

0

Please sign in to leave a comment.