Reports the usage of "equals" on arrays and iterators.

Equals on arrays and iterators checks reference equality, which is rarely useful. This inspection suggests comparing their content via sameElements.


  Array(1) == Array(1) //false
  Iterator(1) == Iterator(1) //false

After the quick-fix is applied:


  Array(1) sameElements Array(1) //true
  Iterator(1) sameElements Iterator(1) //true