Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
New
Description
We have two methods in IOUtils
public static void deleteFilesIgnoringExceptions(Iterable<? extends Path> files); public static void deleteFilesIfExist(Iterable<? extends Path> files) throws IOException
if you call these with a single Path instance it interprets it as Iterable<Path> since Path implements Iternable<Path> and in-turn tries to delete every element of the path. I guess we should fix this before we release. We also need to check if there are other places where we do this... it's nasty...