This inspection reports when equality check is performed for specific classes like
StringBuilder
or StringBuffer
for which equals()
is not
redefined. Such call will not compare object contents and is equivalent to the reference
equality. If reference equality is intended, it's better to use ==
explicitly
to avoid confusion.
New in 2017.2