refactor(测试跟踪): 删除冗余方法
This commit is contained in:
parent
fa95095110
commit
f6f533f9bf
|
@ -1,9 +1,7 @@
|
|||
package io.metersphere.xmind.utils;
|
||||
|
||||
import com.sun.deploy.util.StringUtils;
|
||||
import io.metersphere.excel.domain.ExcelErrData;
|
||||
import io.metersphere.excel.domain.TestCaseExcelData;
|
||||
import io.metersphere.i18n.Translator;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
|
@ -58,21 +56,4 @@ public class DetailUtil implements Serializable {
|
|||
}
|
||||
return errList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
List<String> result = new ArrayList<>();
|
||||
process.entrySet().parallelStream().reduce(result, (first, second) -> {
|
||||
first.add(second.getKey() + ":" + second.getValue());
|
||||
return first;
|
||||
}, (first, second) -> {
|
||||
if (first == second) {
|
||||
return first;
|
||||
}
|
||||
first.addAll(second);
|
||||
return first;
|
||||
});
|
||||
|
||||
return StringUtils.join(result, "\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue