FileSystem Javadocs correct?

23 views
Skip to first unread message

Kevin Clarke

unread,
Jun 28, 2016, 6:12:21 PM6/28/16
to vert.x
Hi,

In the Javadocs for FileSystem is says mkdirs(path, handler) will fail if the directory already exists:


It looks like FileSystem's mkdirs is done under the covers by Files.createDirectories:


Files.createDirectories' Javadocs say, though: "Unlike the createDirectory method, an exception is not thrown if the directory could not be created because it already exists."


I think the VertX FileSystem Javadocs should say that mkdirs(path, handler) will fail if the directory exists but is not a directory?

Thanks,
Kevin
Reply all
Reply to author
Forward
0 new messages