Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 473 for captcha (0.03 seconds)

  1. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            File invalidFile = new File("/invalid/path/test.properties");
    
            try {
                execJob.testCreateSystemProperties(cmdList, invalidFile);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        // Test getLogName method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull(e, "Exception should not be null if thrown");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                    continue
                }
    
                val cacheVersion =
                    try {
                        GradleVersion.version(dirVersion)
                    } catch (_: IllegalArgumentException) {
                        // Ignore
                        continue
                    }
    
                if (shouldDelete(cacheVersion)) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            try {
                userService.changePassword(username, form.newPassword);
                saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to change password for {}", username, e);
                throwValidationError(messages -> messages.addErrorsFailedToChangePassword(GLOBAL), toIndexPage);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setUsername(DfTypeUtil.toString(source.get("username")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                try {
                    Thread.sleep(delayMs);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
    
                SearchResultBuilder builder = SearchResult.create();
                for (int i = 0; i < 10; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

            } catch (final LlmException e) {
                logger.warn("[RAG] LLM error during enhanced chat. sessionId={}, errorCode={}, error={}, elapsedTime={}ms",
                        session.getSessionId(), e.getErrorCode(), e.getMessage(), System.currentTimeMillis() - startTime, e);
                callback.onError("llm", e.getErrorCode());
                throw e;
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

                    if (num.intValue() > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num.intValue() <= 0) {
                        num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
                    }
                } catch (final NumberFormatException e) {
                    num = fessConfig.getPagingSearchPageSizeAsInteger();
                }
            }
            return num;
        }
    
        @Override
        public String getQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/PingResponse.java

            }, XContentType.JSON)) {
                message = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                if (StringUtil.isBlank(message)) {
                    message = "{}";
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets the status.
         *
         * @return the status
         */
        public int getStatus() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.4K bytes
    - Click Count (2)
  10. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

                return ((Double) value).floatValue();
            }
            if (value != null) {
                try {
                    return Float.parseFloat(value.toString());
                } catch (final NumberFormatException e) {
                    logger.warn("Failed to parse boost value: expression={}, value={}", boostExpression, value, e);
                    return 0.0f;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top