Skip to content

Conversation

@Gilgamesh64
Copy link
Contributor

Changed text file to string.
Try with resources auto-closes bufferedreaders so you don't need finally. In the previous code the stringBuilder was scoped to the try so it wasn't visible outside of that for the last line. A catch printing the exceptions is always nice to have.

Changed text file to string.
Try with resources auto-closes bufferedreaders so you don't need finally.
In the previous code the stringBuilder was scoped to the try so it wasn't visible outside of that for the last line.
A catch printing the exceptions is always nice to have.
@Gilgamesh64
Copy link
Contributor Author

Small changes to do my part

@Gilgamesh64 Gilgamesh64 reopened this Jan 10, 2025
@bladecoder bladecoder merged commit b569ee5 into bladecoder:master Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants