mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -449,7 +449,7 @@ public class CellUtil {
|
||||
}
|
||||
final Comment comment = drawing.createCellComment(anchor);
|
||||
comment.setString(factory.createRichTextString(commentText));
|
||||
comment.setAuthor(StrUtil.nullToEmpty(commentAuthor));
|
||||
comment.setAuthor(StrUtil.emptyIfNull(commentAuthor));
|
||||
cell.setCellComment(comment);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user