.equals(x) is probably not intended

this intention produces false positives now (4069)
should only warn if parameter is null, but seems to do on every .equals

0
Avatar
Permanently deleted user

Bas, i see also this:
if (o != null) {
obj.equals(o); // Here is Object.equals(null) marked
}

0

Yep, same problem. Everywhere object.equals(something) is marked and object.equals(null) isn't. I recommend to disable this inspection until the next build.

Bas

0
Avatar
Permanently deleted user

Ok, thanks :)

0

请先登录再写评论。