报告包含相同 "then" 和 "else" 分支的三元表达式。 此类表达式几乎肯定表明程序员发生了错误。

快速修复将替换表达式的 "then" 分支。

示例:


  condition ? a.foo() : a.foo()

在应用快速修复后:


  a.foo()