报告冗余的 ?: return null

示例:


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

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

在应用快速修复后:


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

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