删除无效的标记

This commit is contained in:
彭宇琦 2021-02-18 07:52:23 +08:00
parent 470b7f217b
commit a77ab169ce
1 changed files with 0 additions and 2 deletions

View File

@ -239,7 +239,6 @@ public class CreateExcelFile {
* *
* @param xw 指向excel文件对象 * @param xw 指向excel文件对象
*/ */
@SuppressWarnings("unchecked")
private void createDataValidation(XSSFWorkbook xw) { private void createDataValidation(XSSFWorkbook xw) {
// 读取所有sheet标签 // 读取所有sheet标签
List<Element> xmlSheetList = xml.getRootElement().elements("sheet"); List<Element> xmlSheetList = xml.getRootElement().elements("sheet");
@ -336,7 +335,6 @@ public class CreateExcelFile {
* @param rowIndex * @param rowIndex
* @param columnIndex * @param columnIndex
*/ */
@SuppressWarnings("unchecked")
private void writeDataValidity(Element datasElement, XSSFSheet dataSheet, int rowIndex, int columnIndex) { private void writeDataValidity(Element datasElement, XSSFSheet dataSheet, int rowIndex, int columnIndex) {
// 添加数据获取相应datas下的所有data标签 // 添加数据获取相应datas下的所有data标签
List<Element> dataElementList = datasElement.elements(); List<Element> dataElementList = datasElement.elements();