stbischof commented on code in PR #434: URL: https://github.com/apache/felix-dev/pull/434#discussion_r2246100071
########## fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java: ########## @@ -607,19 +607,10 @@ private void prepareTempDir() { if (tmpDir == null) { - File javaIoTmpdir = new File(System.getProperty("java.io.tmpdir")); - if (!javaIoTmpdir.exists() && !javaIoTmpdir.mkdirs()) { - throw new IllegalStateException("Unable to create temporary directory " + javaIoTmpdir); - } - Random random = new Random(); - while (tmpDir == null) - { - File f = new File(javaIoTmpdir, "fileinstall-" + Long.toString(random.nextLong())); - if (!f.exists() && f.mkdirs()) - { - tmpDir = f; - tmpDir.deleteOnExit(); Review Comment: Removed without an relevant new method call. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org