GuntherRademacher / rr

RR - Railroad Diagram Generator
Apache License 2.0
467 stars 51 forks source link

Misc code cleanup #13

Closed bannmann closed 2 years ago

bannmann commented 2 years ago

This PR fixes two instances where try-with-resources was not yet used.

I also included some (hopefully) non-controversial fixes to minor code smells where code could be simplified or language/API features were not used consistently with the rest of the code.

Note that it's probably most useful to read the individual commits, which stick to one topic each.