报告条件为 truefalse 常量的条件表达式。 这些表达式有时是自动重构的结果,并且可以被简化。

示例:

  return true ? "Yes" : "No";

在应用快速修复后:

  return "Yes";