
resources.report.rules.findbugs.EC_BAD_ARRAY_COMPARE.html Maven / Gradle / Ivy
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