Skip to content

Commit

Permalink
fix new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao committed Oct 30, 2024
1 parent 49ef34b commit 7fe3db9
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@ public String getForChangelog() {
return "";
}
StringBuilder builder = new StringBuilder();
builder.append(String.format("#### `%s` was %s\n", className, type.getDisplayName()));
builder.append(String.format("#### `%s` was %s\n\n", className, type.getDisplayName()));
int count = 0;
for (String methodChange : methodChanges) {
builder
.append("* ")
.append(methodChange)
.append("\n");
count++;
if (count == methodChanges.size()) {
builder.append("\n");
}
}
return builder.append("\n").toString();
return builder.toString();
}

public Collection<String> getItems() {
Expand Down

0 comments on commit 7fe3db9

Please sign in to comment.