优化代码

This commit is contained in:
bryan31
2022-03-13 00:33:51 +08:00
parent 51cc2be005
commit fdedd42ddc

View File

@@ -167,8 +167,8 @@ public abstract class AbsSlot implements Slot {
}
public String getExecuteStepStr(){
StringBuffer str = new StringBuffer();
CmpStep cmpStep = null;
StringBuilder str = new StringBuilder();
CmpStep cmpStep;
for (Iterator<CmpStep> it = executeSteps.iterator(); it.hasNext();) {
cmpStep = it.next();
str.append(cmpStep);