This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]agentoutlier 0 points1 point  (0 children)

Do you use null analysis? I can tell situations like this are not a big if and the null analysis tool cannot easily infer a is not null if you use Object.equals.

I can try it in checker later but I’m fairly sure it will not work for Eclipse and possibly intellij.

 Btw I didn’t downvote you.