All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.report.rules.findbugs.RC_REF_COMPARISON.html Maven / Gradle / Ivy



RC: Suspicious reference comparison (RC_REF_COMPARISON)


RC: Suspicious reference comparison (RC_REF_COMPARISON)

This method compares two reference values using the == or != operator, where the correct way to compare instances of this type is generally with the equals() method. Examples of classes which should generally not be compared by reference are java.lang.Integer, java.lang.Float, etc.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy