for
while
示例:
for(; exitCondition(); ) { process(); }
应用快速修复后,结果如下所示:
while(exitCondition()) { process(); }
如果希望此检查忽略包含普通条件或不存在条件的 for 循环,请使用下面的复选框。