https://bz.apache.org/bugzilla/show_bug.cgi?id=61138

--- Comment #1 from Charles FENDT <[email protected]> ---
Line 128, i found a FIXME :
        // FIXME: Java 7+: use java.nio.Files#createTempDirectory
        final long n = random.nextLong();
        File newDirectory = new File(dir, prefix + Long.toString(n));

I change this with :
        final File newDirectory = Files.createTempDirectory(this.dir.toPath(),
prefix).toFile();

:-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to