报告包含相同 "then" 和 "else" 分支的三元表达式。 此类表达式几乎肯定表明程序员出现错误。
该快速修复会将替换表达式替换为其 "then" 分支。
示例:
condition ? a.foo() : a.foo()
在应用快速修复后:
a.foo()