![JAR search and dependency download from the Maven repository](/logo.png)
resources.report.rules.findbugs.EC_BAD_ARRAY_COMPARE.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sanity4j Show documentation
Show all versions of sanity4j Show documentation
Sanity4J was created to simplify running multiple static code
analysis tools on the Java projects. It provides a single entry
point to run all the selected tools and produce a consolidated
report, which presents all findings in an easily accessible
manner.
The newest version!
EC: Invocation of equals() on an array, which is equivalent to == (EC_BAD_ARRAY_COMPARE)
EC: Invocation of equals() on an array, which is equivalent to == (EC_BAD_ARRAY_COMPARE)
This method invokes the .equals(Object o) method on an array. Since arrays do not override the equals
method of Object, calling equals on an array is the same as comparing their addresses. To compare the
contents of the arrays, use java.util.Arrays.equals(Object[], Object[]).
© 2015 - 2025 Weber Informatics LLC | Privacy Policy