Equality for scala collections checks that both collections are of same kind (Seq, Set or Map) and have same elements. Inspection suggests to replace appropriate usages of methods sameElements or corresponds with equivalent equality check.

Before:

seq sameElements list
hashSet sameElements treeSet

After:
seq == list
hashSet == treeSet