Skip to content

Commit

Permalink
Trivial code cleanup (#88505)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner authored Sep 7, 2022
1 parent 3337493 commit 97f0e98
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ public String toString() {
StringBuilder buf = new StringBuilder("[");
boolean first = true;
for (E e : enums) {
buf.append(e.name().toLowerCase(Locale.ROOT)).append(": ").append(get(e));
if (first) {
if (first == false) {
buf.append(", ");
first = false;
}
first = false;
buf.append(e.name().toLowerCase(Locale.ROOT)).append(": ").append(get(e));
}
buf.append("]");
return buf.toString();
Expand Down

0 comments on commit 97f0e98

Please sign in to comment.