Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed May 6, 2024
1 parent ae4b2ec commit 0f35684
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ private void loadFromResourceBundle() {
private void writeExampleTranslationsToDisk() {
// Extract all key-value pairs from the ResourceBundle
List<String> lines = new ArrayList<>();
this.defaultBundle.getKeys().asIterator().forEachRemaining(key -> {
lines.add(key + "=" + this.defaultBundle.getString(key));
});
this.defaultBundle.getKeys().asIterator().forEachRemaining(key -> lines.add(key + "=" + this.defaultBundle.getString(key)));
Collections.sort(lines);

try {
Expand Down

0 comments on commit 0f35684

Please sign in to comment.