冗長な ?: return null を報告します。

例:


  fun foo(): Int? {
      ...
  }

  fun test() : Int? {
      return foo() ?: return null
  }

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


  fun foo(): Int? {
      ...
  }

  fun test() : Int? {
      return foo()
  }