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

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

Go to download

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