I just enabled these two inspections:
. equals() between objects of inconvertible types
. expression.equals("literal") rather than "literal".equals(expression)
And I have this in my code : getSta().equals("c"), where getSta()
returns an Integer.
I don't have any warning in the code, I don't understand why.
But when I inspect code (Analyse/Inspect code) and I check these two
inspections, it does report the two warnings.