Reports find
and an emptiness check and suggests using exists
instead.
Example:
var x: Seq[Int]
x.find(p).isDefined
x.find(p) != None
x.find(p).isEmpty
After the quick-fix is applied:
var x: Seq[Int]
x.exists(p)
x.exists(p)
!x.exists(p)