Skip to content

Commit

Permalink
Actually no need to handle that case...
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Feb 5, 2024
1 parent 2c8dad9 commit 8943fba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public String getName() {

public String toString(List<? extends DocTree> tags, Element element) {
if (tags.isEmpty()) {
return formatTaglet(formatTagText(new String[0]));
// Shouldn't happen.
return "";
}
StringJoiner sb = new StringJoiner(", ");
for (DocTree t : tags) {
Expand Down

0 comments on commit 8943fba

Please sign in to comment.