filterheadOption の使用箇所を報告し、find に置換します。

例:


  var x: Seq[Int]
  x.filter(p).headOption

クイックフィックス適用後:


  var x: Seq[Int]
  x.find(p)