Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 473 for captcha (0.04 seconds)

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

            // Note: isTarget requires FessConfig which needs container
            // We can only verify the method handles missing container gracefully
            try {
                generator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        @Test
        public void test_addCondition() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java

                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

                assertEquals("SpnegoConfig", configClass.getSimpleName());
    
                // Verify it's a static inner class
                assertTrue(java.lang.reflect.Modifier.isStatic(configClass.getModifiers()));
            } catch (ClassNotFoundException e) {
                fail("SpnegoConfig inner class should exist");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                }
            }, CrawlingInfoService.class.getCanonicalName());
    
            try {
                crawlingInfoHelper.store(sessionId, true);
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("No crawling session.", e.getMessage());
                assertTrue(e.getCause() instanceof RuntimeException);
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            }
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
                    // Ignore exceptions during teardown
                }
            }
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            // Test getting non-existent property
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
        // Test system property without prefix
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeCrawler();
                ComponentUtil.getKeyMatchHelper().update();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Failed to execute a crawl job.", e);
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            try {
                final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class);
                duplicateHostList.addAll(duplicateHostService.getDuplicateHostList());
            } catch (final AutoBindingFailureException e) {
                logger.warn("DuplicateHostService is not found.", e);
            }
        }
    
        /**
         * Sets the list of duplicate host rules.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            getLabelType(form).ifPresent(entity -> {
                try {
                    labelTypeService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
                    logger.warn("Failed to update scores: booster={}", b.getClass().getSimpleName(), e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top