Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 206 for causes (0.15 seconds)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

                assertNotNull(Boolean.valueOf(result), "Validation should return a boolean result for: " + cron);
            }
        }
    
        // Test edge cases to understand the validation behavior
        @Test
        public void test_edgeCaseBehavior() {
            String[] edgeCases = { "0 0 25 * * ?", // Invalid day of month
                    "0 60 * * * ?", // Invalid minute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

                                    && (attributes.get("Fess-WebAppJar") != null || attributes.getValue("Fess-WebAppJar") != null)) {
                                createWebResourceSet(ResourceSetType.CLASSES_JAR, "/WEB-INF/classes", possibleJar.getURL(), "/");
                            }
                        }
                    } catch (final Exception e) {
                        logger.log(Level.WARNING, e, () -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

            }
            return name;
        }
    
        /**
         * Executes a search operation with the specified parameters.
         * This method must be implemented by concrete searcher classes.
         *
         * @param query the search query string
         * @param params the search request parameters including pagination, filters, etc.
         * @param userBean the optional user bean for access control and personalization
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. AI_POLICY.md

    significant AI involvement.** If AI tools played a major role in producing your contribution, say so in the description. We are not interested in incidental use, such as asking a chatbot for advice or accepting an autocomplete suggestion—but rather in cases where a tool generated substantial portions of the work. Disclosure will not reduce the likelihood of your PR or issue being accepted; we ask because information about AI tool use helps us evaluate their impact, build new best practices, and adjust...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                processHelper.startProcess(sessionId, cmdList, pbCall);
                fail("Expected exception for empty command list");
            } catch (Exception e) {
                // Expected - empty command list should cause exception
                assertTrue(e instanceof JobProcessingException || e instanceof IndexOutOfBoundsException);
            }
        }
    
        @Test
        public void test_nullCallback() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        }
    
        // Test command list construction with target classes directory
        @Test
        public void test_executeSuggestCreator_withTargetClassesDir() {
            createRequiredDirectories();
            File targetDir = new File(System.getProperty("user.dir"), "target");
            File targetClassesDir = new File(targetDir, "classes");
            targetClassesDir.mkdirs();
    
            mockProcessHelper.setExitValue(0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

                return testContext != null ? testContext : super.createSearchLogContext(params, fessConfig);
            }
        }
    
        // Mock classes for addSearchLog tests
    
        private static class MockSearchRequestParams extends SearchRequestParams {
            @Override
            public String getQuery() {
                return "test query";
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

         */
        @Test
        public void test_evaluate_genericExceptionReturnsNull() {
            final Map<String, Object> params = new HashMap<>();
            // Invalid script that will cause an exception
            assertNull(groovyEngine.evaluate("return nonExistentVariable", params));
        }
    
        /**
         * Test that syntax errors return null
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/QueryContext.java

            functionScoreQuery.accept(list);
            queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
        }
    
        /**
         * Adds additional query clauses using a boolean query builder.
         * @param boolQuery Consumer that configures the boolean query.
         */
        public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
            BoolQueryBuilder builder;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <module name="UnusedImports"/>
            <module name="IllegalImport">
                <!--
                    We shouldn't use jdk.internal types.
    
                    com.beust and org.testng.collections has classes that look like Guava.
                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections"/>
                <!--
                    We prefer org.jspecify for nullability annotations.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top