报告具有相同的“then”和 else 分支的 if 语句。 此类语句几乎肯定表明程序员发生了错误。

示例:


if (condition) {
  print "foo"
} else {
  print "foo"
}

应用快速修复后,结果如下所示:


print "foo"