Query module EqualsArray

name
Equals or hashCode on arrays
description
The ‘equals’ and ‘hashCode’ methods on arrays only consider object identity, not array contents, which is unlikely to be what is intended.
kind
problem
problem.severity
error
precision
very-high
id
java/equals-on-arrays
tags
reliability correctness

Imports

java

Provides all default Java QL imports.