Skip to content

Commit

Permalink
Remove StringJoiner in Sources class
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Sep 11, 2024
1 parent 7368dec commit bd8e2d8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class Sources {

@Override
public String toString() {
StringJoiner result = new StringJoiner(", ", "[", "]");
result.add(sources.toString());
return result.toString();
return ("[" + sources.toString() + "]");
}
}

0 comments on commit bd8e2d8

Please sign in to comment.