fix 修复单词拼写错误

This commit is contained in:
疯狂的狮子Li 2023-04-05 17:46:32 +08:00
parent 4ba109a2b7
commit 27be95a15b
2 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ public class DefaultExcelListener<T> extends AnalysisEventListener<T> implements
private ExcelResult<T> excelResult; private ExcelResult<T> excelResult;
public DefaultExcelListener(boolean isValidate) { public DefaultExcelListener(boolean isValidate) {
this.excelResult = new DefautExcelResult<>(); this.excelResult = new DefaultExcelResult<>();
this.isValidate = isValidate; this.isValidate = isValidate;
} }

View File

@ -12,7 +12,7 @@ import java.util.List;
* @author Yjoioooo * @author Yjoioooo
* @author Lion Li * @author Lion Li
*/ */
public class DefautExcelResult<T> implements ExcelResult<T> { public class DefaultExcelResult<T> implements ExcelResult<T> {
/** /**
* 数据对象list * 数据对象list
@ -26,17 +26,17 @@ public class DefautExcelResult<T> implements ExcelResult<T> {
@Setter @Setter
private List<String> errorList; private List<String> errorList;
public DefautExcelResult() { public DefaultExcelResult() {
this.list = new ArrayList<>(); this.list = new ArrayList<>();
this.errorList = new ArrayList<>(); this.errorList = new ArrayList<>();
} }
public DefautExcelResult(List<T> list, List<String> errorList) { public DefaultExcelResult(List<T> list, List<String> errorList) {
this.list = list; this.list = list;
this.errorList = errorList; this.errorList = errorList;
} }
public DefautExcelResult(ExcelResult<T> excelResult) { public DefaultExcelResult(ExcelResult<T> excelResult) {
this.list = excelResult.getList(); this.list = excelResult.getList();
this.errorList = excelResult.getErrorList(); this.errorList = excelResult.getErrorList();
} }