Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteIfExists (0.07 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            // Log the error but don't throw to avoid masking exceptions from the main operation
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete: path={}", f, e);
                    }
                });
                Files.deleteIfExists(dir);
            } catch (final IOException e) {
                logger.warn("Failed to delete: path={}", dir, e);
            }
        }
    
        /**
         * Gets the JAR file path for the given artifact.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

         */
        public static void deleteInBackground(final File file) {
            if (file != null) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    try {
                        Files.deleteIfExists(file.toPath());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                }, 0, false);
            }
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top