Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for idempotent (0.05 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                deleteDirectory(tempDir.toFile());
            }
        }
    
        @Test
        public void test_createDirectories_existingPath() throws Exception {
            // Test that Files.createDirectories is idempotent (no exception on existing dir)
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path existingPath = tempDir.resolve("existing");
                Files.createDirectories(existingPath);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                            // The file collection may be resolved several times, e.g. for fingerprinting and for actual javadoc invocation.
                            // The method should be idempotent, so we record all package-info.java files we ever allowed and allow them afterward.
                            return true;
                        }
                        String packageName = getPackageName(file);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            }
        }
    
        @Test
        public void test_completeOperation_doubleCall_safe() {
            // Calling completeOperation twice must not throw (idempotent release)
            final AtomicInteger callCount = new AtomicInteger(0);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top