Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 522 for hatch (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

        }
    
        /**
         * Get a key match.
         *
         * @param id The ID of the key match.
         * @return An optional entity of the key match.
         */
        public OptionalEntity<KeyMatch> getKeyMatch(final String id) {
            return keyMatchBhv.selectByPK(id);
        }
    
        /**
         * Store a key match.
         *
         * @param keyMatch The key match to store.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
                            // Ignore close exception
                        }
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    installArtifact(artifact);
                    saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName()));
                }
            } catch (final ValidationErrorException e) {
                throw e;
            } catch (final Exception e) {
                throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test throwing and catching the exception
            String expectedMessage = "Test throw and catch";
    
            try {
                throw new SearchQueryException(expectedMessage);
            } catch (SearchQueryException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught SearchQueryException");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                        items.add(new StorageItem(fileName, prefix, false, s3Object.size(), lastModified, encodeId(objectKey)));
                    }
                }
            } catch (final NoSuchBucketException e) {
                logger.info("Bucket does not exist: {}", bucket);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to list objects in {}", bucket, e);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        /** The ID of the key match. */
        public String id;
    
        /** The term of the key match. */
        public String term;
    
        /** The query of the key match. */
        public String query;
    
        /** The max size of the key match. */
        public String maxSize;
    
        /** The boost of the key match. */
        public String boost;
    
        /** The creator of the key match. */
        public String createdBy;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
                            // Ignore close exception
                        }
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

                // Verify escaped pattern matches
                assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches());
    
                // Verify unescaped pattern does NOT match
                assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.sessionId = "test-session";
    
            try {
                int result = errorCrawler.doCrawl(options);
                // Should catch the exception and return EXIT_FAIL
                assertEquals(Constants.EXIT_FAIL, result);
            } catch (RuntimeException e) {
                // Expected behavior - test exception propagates
                assertEquals("Test exception", e.getMessage());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

        public void test_update_callsLoad() throws InterruptedException {
            CountDownLatch latch = new CountDownLatch(1);
            configHelper.setLoadCallback(() -> {
                latch.countDown();
                return 1;
            });
    
            configHelper.update();
    
            assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(1, configHelper.getLoadCallCount());
        }
    
    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)
Back to Top