Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 357 for EMPTY (0.01 seconds)

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

  1. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is empty or invalid: " + uriType.protocolType());
            };
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            if (StringUtil.isNotBlank(value)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
        @Test
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            // Defaults to UNCLEAR when value is null
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(null));
        }
    
        @Test
        public void test_fromValue_empty() {
            // Defaults to UNCLEAR when value is empty or whitespace
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(""));
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("   "));
        }
    
        @Test
        public void test_fromValue_unknown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

         * This method escapes characters that have special meaning in LDAP filter expressions
         * to prevent LDAP injection attacks.
         *
         * @param value the value to escape (null is treated as empty string)
         * @return the escaped value safe for use in LDAP search filters
         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         *
         * @param id the unique identifier of the duplicate host configuration
         * @return an OptionalEntity containing the DuplicateHost if found, empty otherwise
         * @throws IllegalArgumentException if id is null or empty
         */
        public OptionalEntity<DuplicateHost> getDuplicateHost(final String id) {
            return duplicateHostBhv.selectByPK(id);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertNull(execJob.sessionId);
            assertTrue(execJob.useLocalFesen);
            assertNull(execJob.logFilePath);
            assertNull(execJob.logLevel);
            assertEquals(StringUtil.EMPTY, execJob.logSuffix);
            assertNotNull(execJob.jvmOptions);
            assertTrue(execJob.jvmOptions.isEmpty());
            assertNull(execJob.lastaEnv);
            assertEquals(-1, execJob.timeout);
    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)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Initially not deleted
            assertFalse(item.isDeleted());
    
            // Set newInputs to empty array and newOutput
            item.setNewInputs(new String[] {});
            item.setNewOutput("output");
            assertTrue(item.isDeleted());
    
            // Set newInputs to non-empty array - not deleted
            item.setNewInputs(new String[] { "something" });
            assertFalse(item.isDeleted());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/user/admin_user.jsp

                                </div>
                                <%-- List --%>
                                <c:if test="${userPager.allRecordCount == 0}">
                                    <div class="row top10"><div class="col-sm-12 empty-list-placeholder"><i class="fa fa-info-circle text-primary" aria-hidden="true"></i>
                                            <la:message key="labels.list_could_not_find_crud_table"/>
                                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test with different names
            LdapUser user2 = new LdapUser(testEnv, "anotheruser");
            assertEquals("anotheruser", user2.getName());
    
            // Test with empty name
            LdapUser user3 = new LdapUser(testEnv, "");
            assertEquals("", user3.getName());
    
            // Test with null name
            LdapUser user4 = new LdapUser(testEnv, null);
            assertNull(user4.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

            assertTrue(body != null, "CSV response should not be null");
            // CSV should contain the test data
            assertTrue(body.contains(NAME_PREFIX) || body.isEmpty(), "CSV should contain test data or be empty");
        }
    
        @Test
        void testUploadCsv_ok() {
            // Create CSV content
            String csvContent = NAME_PREFIX + "uploadTest1\n" + NAME_PREFIX + "uploadTest2\n";
    
            // Upload CSV
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top