Reports cases when Scala collections of different categories are compared.
Scala collections of different categories (Set, Seq, Map or Iterator) cannot be equal and should not be compared with arrays either. This inspection suggests converting one of the collections into the same category.
Example:
seq == iterator
seq != array
After the quick-fix is applied:
seq.toIterator == iterator or seq == iterator.toSeq
seq != array.toSeq