Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for postVisitDirectory (0.07 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test FilePurgeVisitor postVisitDirectory
        public void test_FilePurgeVisitor_postVisitDirectory() throws IOException {
            // Test empty directory deletion logic
            File emptyDir = new File(tempDir, "empty");
            emptyDir.mkdirs();
            assertTrue(emptyDir.exists());
    
            // Simulate the behavior of postVisitDirectory - delete empty directories
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    logger.warn("I/O exception on {}", file, e);
                }
                return FileVisitResult.CONTINUE;
            }
    
            @Override
            public FileVisitResult postVisitDirectory(final Path dir, final IOException e) throws IOException {
                if (e != null) {
                    logger.warn("I/O exception on {}", dir, e);
                }
                deleteEmptyDirectory(dir);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top