Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 451 for EMPTY (0.02 seconds)

  1. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

        @Test
        public void test_isValidVirtualHostPath_emptyPath() throws Exception {
            setupVirtualHostHelper();
    
            Boolean result = invokeIsValidVirtualHostPath("");
            assertTrue("Empty path should be valid (default host)", result);
        }
    
        @Test
        public void test_isValidVirtualHostPath_nullPath() throws Exception {
            setupVirtualHostHelper();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            OptionalEntity<String> emptyOptional = OptionalUtil.ofNullable(nullValue);
    
            assertFalse(emptyOptional.isPresent());
            assertEquals("default", emptyOptional.orElse("default"));
    
            // Test that empty optional returns null instead of throwing
            assertNull(emptyOptional.orElse(null));
        }
    
        @Test
        public void test_ofNullable_multipleTypesInSequence() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
        }
    
        // Test getScriptEngine with empty string
        @Test
        public void test_getScriptEngine_emptyString() {
            try {
                scriptEngineFactory.getScriptEngine("");
                fail("Should throw ScriptEngineException for empty string");
            } catch (ScriptEngineException e) {
                assertEquals(" is not found.", e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Creates a RequestHeader entity from the provided form data.
         *
         * @param form the form containing the request header data
         * @return optional entity containing the request header data, or empty if creation fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                // Verify the file was created and contains content
                assertTrue("Thread dump file should exist", Files.exists(tempFile));
                assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
    
                // Verify the content contains thread information
                String content = new String(Files.readAllBytes(tempFile), Constants.CHARSET_UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/dict/admin_dict.jsp

                                </div>
                                <%-- List --%>
                                <c:if test="${fn:length(dictFiles) == 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
    - 4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        /** Status code representing completed/done state. */
        public static final int DONE_STATUS = 9999;
    
        /** Default value for ignore failure type (empty string). */
        public static final String DEFAULT_IGNORE_FAILURE_TYPE = StringUtil.EMPTY;
    
        /** Default failure count value (-1 indicates no limit). */
        public static final Integer DEFAULT_FAILURE_COUNT = -1;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                logger.debug("Login failed for user: {}", username, e);
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Checks if the specified LDAP user is allowed to have empty group and role permissions.
         *
         * @param ldapUser the LDAP user to check
         * @return true if empty permissions are allowed, false otherwise
         */
        protected boolean allowEmptyGroupAndRole(final LdapUser ldapUser) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String get(String key) {
                    // Override to return empty string instead of null to avoid NullPointerException
                    return "";
                }
    
                @Override
                public String getIndexFieldTitle() {
                    return "title";
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

         * @param runtime The job runtime.
         */
        protected void process(final LaJobRuntime runtime) {
            if (!runtime.getParameterMap().containsKey(Constants.SCHEDULED_JOB)) {
                logger.warn("Scheduled job is empty: key={}", Constants.SCHEDULED_JOB);
                return;
            }
            runtime.stopIfNeeds();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    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