This commit is contained in:
Looly
2022-09-04 20:57:26 +08:00
parent c72e2bb5ba
commit d52d36cfdc
15 changed files with 392 additions and 352 deletions

View File

@@ -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);
}