softwareconstruction240 / autograder

Autograder for BYU's CS 240 Chess project
https://cs240.click
2 stars 2 forks source link

Simplify implementation of FileUtils.writeStringToFile() #372

Closed frozenfrank closed 1 month ago

frozenfrank commented 1 month ago

The change is pretty straight forward.

I found a another implementation of this method, and it's simpler to read as a developer. It uses a different built in Java Object which may bring other implications, but it works just fine for it's purpose.

This PR can be accepted or rejected, and it shouldn't make much of a difference to the end user. If this branch becomes outdated, it would seem more prudent to rebase this on top of the new changes rather than creating a merge commit.