Prefer Files#createTempFile(String, String, FileAttribute[]) over less secure alternatives
Apache 2.0Note that File#createTempFile treats the given prefix as a path, and ignores all but
its file name. That is, the actual prefix used is derived from all characters following the
final file separator (if any). This is not the case with Files#createTempFile, which
will instead throw an IllegalArgumentException if the prefix contains any file
separators.
tech. picnic. errorprone. refasterrules. FileRulesRecipes$FilesCreateTempFileToFileRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. FileRulesRecipes$FilesCreateTempFileToFileRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.