poi icon indicating copy to clipboard operation
poi copied to clipboard

use Paths

Open XenoAmess opened this issue 3 years ago • 2 comments

XenoAmess avatar Jul 15 '22 19:07 XenoAmess

This is a big diff - and I'm not sure what we gain from it - what is so wrong with FileOutputStream?

pjfanning avatar Jul 15 '22 22:07 pjfanning

@pjfanning One of benefits of using Path instead of File is that it abstracts away whether you're reading normal (expanded) files, or files inside compressed files like JAR, ZIP, etc. Overall, it is more flexible and Files provides a lot of useful utility methods that you can build on.

cowwoc avatar Nov 19 '23 03:11 cowwoc