Travel of Software Developer
A Java Developer
24.8.13
Using File.renameTo() instead of Files.move(xxx)
Not sure why JCP designs Files.move() in this way. Using IOException for missing source file doesn't look a good idea.
File.renameTo() looks much more simple.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment