Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 412 for match2 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                    }
                    try {
                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete: path={}", f, e);
                    }
                });
                Files.deleteIfExists(dir);
            } catch (final IOException e) {
                logger.warn("Failed to delete: path={}", dir, e);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadElevateFile(GLOBAL), this::asDownloadHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            // Verify the constants are accessible via reflection or by checking their usage
            // Since the constants are private, we test their values indirectly
    
            // The constants should match standard HTTP status codes
            // HTTP_STATUS_NOT_FOUND = 404
            // HTTP_STATUS_OK = 200
    
            // This test verifies that the constants are being used in the code
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SambaHelper.java

            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
            final Integer id = fessConfig.getAvailableSmbSidType(type);
            if (id != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            final Exception[] exceptionHolder = new Exception[1];
    
            Thread thread = new Thread(() -> {
                try {
                    clientHolder[0] = new CrawlerEngineClient();
                } catch (Exception e) {
                    exceptionHolder[0] = e;
                }
            });
    
            thread.start();
            thread.join();
    
            assertNull(exceptionHolder[0]);
            assertNotNull(clientHolder[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        @Test
        public void test_parse_null_input() {
            // Test null input handling
            try {
                KuromojiCSVUtil.parse(null);
                fail("Should throw NullPointerException for null input");
            } catch (NullPointerException e) {
                // Expected behavior
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
                    }
                    throw e;
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
        // Test basic delete operation
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    try {
                        File tempFile = File.createTempFile(prefix, suffix);
                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        /** Scroll timeout for search operations */
        protected String scrollForSearch = "1m";
    
        /** Batch size for delete operations */
        protected int sizeForDelete = 100;
    
        /** Scroll timeout for delete operations */
        protected String scrollForDelete = "1m";
    
        /** Batch size for update operations */
        protected int sizeForUpdate = 100;
    
        /** Scroll timeout for update operations */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
Back to Top