Fixed: an error issue when the table comment was empty after configuring ‘setTableCommentFormat’.

This commit is contained in:
Font_C 2023-06-13 15:21:45 +08:00
parent 874ebf1c46
commit d756b14424

View File

@ -50,7 +50,7 @@ public class Table {
} }
public String getComment() { public String getComment() {
if(StringUtil.isNotBlank(comment)) { if (StringUtil.isNotBlank(comment)) {
return globalConfig.getJavadocConfig().formatTableComment(comment); return globalConfig.getJavadocConfig().formatTableComment(comment);
} }
return null; return null;