On Thu, Oct 2, 2014 at 3:02 PM, Esteban Gutierrez <[email protected]>
wrote:

> I get that isDirectory is not atomic and not the best solution, but at
> least can provide an alternative to fail the operation without using the
> deprecated API or altering FileSystem
>

This is not an alternative solution because it's not atomic. ​Might as well
do nothing because a simple quirk of timing would produce the same result
as if no changes were made.



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Reply via email to