Reports methods with one empty parameter clause that override methods without parameter clauses.

The recommended convention is to use a method without parameter clauses whenever there are no parameters and the method has no side effects.

This convention promotes the uniform access principle, which says that client code should not be affected by a decision to implement an attribute as a field or method.

In accordance with the Liskov substitution principle, whenever an overridden method doesn't have a parameter clause, the overriding method must also be declared as a method without side effects.

The quick-fix removes the empty parameter clause.

Example:


  trait Base { def isOk: Boolean }

  class Impl extends Base {
    override def isOk(): Boolean = ???
  }

After the quick-fix is applied:


  trait Base { def isOk: Boolean }

  class Impl extends Base {
    override def isOk: Boolean = ???
  }