Reports using map with expressions which produce no result.

If possible, this inspection suggests replacing such map call with foreach one.

Example:


  Seq(1, 2).map(println)

After the quick-fix is applied:


  Seq(1, 2).foreach(println)