Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 570 for hatch (0.03 seconds)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            CountDownLatch latch = new CountDownLatch(1);
            List<String> receivedLines = new ArrayList<>();
            Consumer<String> callback = line -> {
                receivedLines.add(line);
                if (receivedLines.size() == 5000) {
                    latch.countDown();
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        public void test_executePython_blankFilename() {
            pythonJob.filename("");
    
            try {
                pythonJob.executePython();
                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertEquals("Python script is not specified.", e.getMessage());
            }
        }
    
        // Test executePython with null filename
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        @Test
        public void test_valueOf_null() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                    logger.debug("Cancelled {} availability check task", getName());
                }
            }
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
                    logger.warn("Failed to close HTTP client", e);
                }
                httpClient = null;
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

     * from files that match the pattern "stopwords.*\\.txt".
     */
    public class StopwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(StopwordsCreator.class);
    
        /**
         * Constructs a new creator for stopwords dictionaries.
         * It sets the file pattern to match files starting with "stopwords"
         * and ending with ".txt".
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.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);
        }
    
        @SuppressWarnings("unchecked")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
                    } catch (final UnsupportedEncodingException e) {
                        // UTF-8 should always be supported, but log if it somehow isn't
                        logger.warn("UTF-8 encoding not supported - this should not happen: char={}", c, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                            badWordBhv.update(badWord);
                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to read a suggest bad word: {}", list, e);
                    }
                }
                searchEngineClient.refresh("_all"); // TODO replace _all
            } catch (final IOException e) {
                logger.warn("Failed to read a suggest bad word.", e);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                productVersion = majorVersion + "." + minorVersion;
                System.setProperty("fess.version", version);
                System.setProperty("fess.product.version", productVersion);
            } catch (final Exception e) {
                throw new FessSystemException("Failed to parse project.properties.", e);
            }
        }
    
        /**
         * Destroys the SystemHelper and executes shutdown hooks.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                    }
                    jobLog.setScriptResult(ret.toString());
                }
                jobLog.setJobStatus(Constants.OK);
            } catch (final Throwable t) {
                logger.warn("Failed to execute job: id={}, script={}", id, script, t);
                jobLog.setJobStatus(Constants.FAIL);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top