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 24, 2023
1 parent 13a1359 commit 6ad61e8
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 6ad61e8

Please sign in to comment.