mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add method
This commit is contained in:
parent
59fe85a33f
commit
98af280dad
@ -3,7 +3,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 5.4.2 (2020-09-02)
|
||||
# 5.4.2 (2020-09-03)
|
||||
|
||||
### 新特性
|
||||
* 【core 】 lock放在try外边(pr#1050@Github)
|
||||
@ -11,6 +11,7 @@
|
||||
* 【core 】 JschUtil添加远程转发功能(pr#171@Gitee)
|
||||
* 【db 】 AbstractDb增加executeBatch重载(issue#1053@Github)
|
||||
* 【extra 】 新增方便引入SpringUtil的注解@EnableSpringUtil(pr#172@Gitee)
|
||||
* 【poi 】 RowUtil增加插入和删除行(pr#1060@Github)
|
||||
|
||||
### Bug修复#
|
||||
* 【core 】 重新整理农历节假日,解决一个pr过来的玩笑导致的问题
|
||||
|
@ -109,6 +109,7 @@ public class RowUtil {
|
||||
* @param sheet 工作表
|
||||
* @param startRow 插入的起始行
|
||||
* @param insertNumber 插入的行数
|
||||
* @since 5.4.2
|
||||
*/
|
||||
public static void insertRow(Sheet sheet, int startRow, int insertNumber) {
|
||||
if (insertNumber <= 0) {
|
||||
@ -136,6 +137,7 @@ public class RowUtil {
|
||||
*
|
||||
* @param row 需要删除的行
|
||||
* @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) {
|
||||
if (row == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user