better detect empty body
This commit is contained in:
parent
d24aa54e75
commit
5858f56784
@ -222,7 +222,7 @@ class MarkdownWriter {
|
||||
private void buildDocumentation(DocCommentTree commentTree, JavadocDocumentable docuable) {
|
||||
if (commentTree.getFirstSentence() != null)
|
||||
docuable.setDocFirstSentence(this.sanitize(commentTree.getFirstSentence()));
|
||||
if (commentTree.getBody() != null)
|
||||
if (commentTree.getFullBody() != null && !commentTree.getFullBody().isEmpty())
|
||||
docuable.setDocBody(this.sanitize(commentTree.getFullBody()));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user