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: