add method

This commit is contained in:
Looly 2020-09-03 17:43:07 +08:00
parent 59fe85a33f
commit 98af280dad
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------
# 5.4.2 (2020-09-02) # 5.4.2 (2020-09-03)
### 新特性 ### 新特性
* 【core 】 lock放在try外边pr#1050@Github * 【core 】 lock放在try外边pr#1050@Github
@ -11,6 +11,7 @@
* 【core 】 JschUtil添加远程转发功能pr#171@Gitee * 【core 】 JschUtil添加远程转发功能pr#171@Gitee
* 【db 】 AbstractDb增加executeBatch重载issue#1053@Github * 【db 】 AbstractDb增加executeBatch重载issue#1053@Github
* 【extra 】 新增方便引入SpringUtil的注解@EnableSpringUtilpr#172@Gitee * 【extra 】 新增方便引入SpringUtil的注解@EnableSpringUtilpr#172@Gitee
* 【poi 】 RowUtil增加插入和删除行pr#1060@Github
### Bug修复# ### Bug修复#
* 【core 】 重新整理农历节假日解决一个pr过来的玩笑导致的问题 * 【core 】 重新整理农历节假日解决一个pr过来的玩笑导致的问题

View File

@ -109,6 +109,7 @@ public class RowUtil {
* @param sheet 工作表 * @param sheet 工作表
* @param startRow 插入的起始行 * @param startRow 插入的起始行
* @param insertNumber 插入的行数 * @param insertNumber 插入的行数
* @since 5.4.2
*/ */
public static void insertRow(Sheet sheet, int startRow, int insertNumber) { public static void insertRow(Sheet sheet, int startRow, int insertNumber) {
if (insertNumber <= 0) { if (insertNumber <= 0) {
@ -136,6 +137,7 @@ public class RowUtil {
* *
* @param row 需要删除的行 * @param row 需要删除的行
* @see <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56454">sheet.shiftRows的bug</a> * @see <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56454">sheet.shiftRows的bug</a>
* @since 5.4.2
*/ */
public static void removeRow(Row row) { public static void removeRow(Row row) {
if (row == null) { if (row == null) {