删除无效的标记
This commit is contained in:
parent
470b7f217b
commit
a77ab169ce
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue