SONARJAVA-341 Array Equals check