This inspection became deprecated.
It is not recommended to use procedure-like syntax for methods with Unit return type. It is inconsistent, may lead to errors and will be deprecated in future versions of Scala.

* Reference: The talk "Scala with Style" by Martin Odersky at ScalaDays 2013

Old description:
Unit result type annotation is redundant:
// excessive clutter
def foo(): Unit
// concise form
def foo()

* Refer to Programming in Scala, 2.3 Define some functions