Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 451 for EMPTY (0.02 seconds)

  1. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            callback.store(new DataStoreParams(), null);
            assertEquals(-1L, callback.getDocumentSize());
        }
    
        @Test
        public void test_store_with_empty_map() {
            // Test with empty data map
            final AtomicInteger storeCount = new AtomicInteger(0);
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        // Test reload with InputStream
        @Test
        public void test_reload_withComments() {
            String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line
                    "word2\n" + "# Another comment\n" + "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        if (StringUtil.isBlank(responseData.getUrl())) {
                            throw new ThumbnailGenerationException(
                                    "Failed to process a thumbnail content: " + url + " (Response URL is empty)");
                        }
                        return consumer.test(responseData);
                    } catch (final CrawlingAccessException e) {
                        if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            doc.put("content", "コンテンツ");
    
            languageHelper.updateDocument(doc);
    
            assertEquals("ja", doc.get("lang"));
            // No fields should be added since langFields is empty
            assertNull(doc.get("title_ja"));
            assertNull(doc.get("content_ja"));
        }
    
        @Test
        public void test_createScript_noLangFields() {
            languageHelper.langFields = new String[] {};
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                }
            };
    
            FessTimeResourceProvider nullAdjustProvider = new FessTimeResourceProvider(nullAdjustConfig);
            assertNotNull(nullAdjustProvider);
        }
    
        // Test with config returning empty string
        @Test
        public void test_emptyStringTimeAdjustment() {
            FessConfig emptyConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        @Test
        public void test_execute_stateChangeEmptyNotificationAddresses() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

         *
         * @param value The number to convert
         * @return String representation of the number, or empty string if null
         */
        private String toNumberString(final Number value) {
            return value != null ? value.toString() : StringUtil.EMPTY;
        }
    
        /**
         * Deletes a search log entry based on its type.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            assertEquals(30, searchLogDeletedDays[0]);
            assertEquals(14, jobLogDeletedDays[0]);
            assertEquals(7, userInfoDeletedDays[0]);
    
            // Assert result is empty when all succeed
            assertEquals("", result);
        }
    
        // Test with negative days to skip purging
        @Test
        public void test_execute_negativeDays() {
            // Setup tracking variables
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  9. src/main/webapp/js/chat.js

            state.currentPhase = null;
            state.completedPhases = [];
        }
    
        /**
         * Hide empty state
         */
        function hideEmptyState() {
            elements.emptyState.hide();
        }
    
        /**
         * Show empty state
         */
        function showEmptyState() {
            elements.emptyState.show();
        }
    
        /**
         * Format timestamp
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                    return true;
                }, OptionalThing.empty());
                response.flushBuffer();
                if (logger.isDebugEnabled()) {
                    logger.debug("Loaded {} documents", count);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top