Prefer Files#newBufferedReader(Path) over more verbose or contrived alternatives

Apache 2.0

Warning: this rewrite changes behavior when no charset is specified: the original code uses the default charset, while the replacement always uses UTF-8.

tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesNewBufferedReaderRecipe
mod run . --recipe='tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesNewBufferedReaderRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.