refactor(测试跟踪): 删除冗余方法

This commit is contained in:
fit2-zhao 2020-10-20 17:48:51 +08:00
parent fa95095110
commit f6f533f9bf
1 changed files with 0 additions and 19 deletions

View File

@ -1,9 +1,7 @@
package io.metersphere.xmind.utils; package io.metersphere.xmind.utils;
import com.sun.deploy.util.StringUtils;
import io.metersphere.excel.domain.ExcelErrData; import io.metersphere.excel.domain.ExcelErrData;
import io.metersphere.excel.domain.TestCaseExcelData; import io.metersphere.excel.domain.TestCaseExcelData;
import io.metersphere.i18n.Translator;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@ -58,21 +56,4 @@ public class DetailUtil implements Serializable {
} }
return errList; 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");
}
} }