This behaves the same as the existing implementation but with less code to maintain. Specifically it relies on Files.createTempFile and a broader try-catch block to simplify the flow.
I don't feel strongly about this change, but it does eliminate a couple more static analysis warnings.
This behaves the same as the existing implementation but with less code to maintain. Specifically it relies on
Files.createTempFile
and a broader try-catch block to simplify the flow.I don't feel strongly about this change, but it does eliminate a couple more static analysis warnings.