Skip to content

Commit

Permalink
Missing space before tsdoc tags
Browse files Browse the repository at this point in the history
Fix #85
  • Loading branch information
vegegoku committed Oct 22, 2023
1 parent d9d6016 commit e082fd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public String visitDocComment(DocCommentTree node, Element element) {
.collect(Collectors.joining());
String tags =
node.getBlockTags().stream()
.map(tag -> tag.accept(this, element))
.map(tag -> " " + tag.accept(this, element))
.collect(Collectors.joining("\n"));
return body + "\n" + tags;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
*/
@JsType
public class JsTypeLinksMethods {
public void doSomethingA() {}

/** @return string sample */
public String doSomethingA() {
return "";
}

public void doSomethingA2() {}
}

0 comments on commit e082fd6

Please sign in to comment.