Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Empty (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Should handle null session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with empty session ID
         */
        public void test_init_withEmptySessionId() {
            urlFilter.init("");
            // Should handle empty session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test adding a single include pattern
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                final SAXParser parser = spfactory.newSAXParser();
                try {
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to set a property.", e);
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            try {
                parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to set a property.", e);
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertTrue(elevateWord.getRoles().isEmpty());
        }
    
        @Test
        public void testConstructorWithEmptyLists() {
            // Test constructor with empty lists
            String word = "empty lists";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Collections.emptyList();
            List<String> tags = Collections.emptyList();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

         */
        public void register(final List<String> keyList) {
            if (keyList == null || keyList.isEmpty()) {
                throw new IllegalArgumentException("keyList must not be null or empty.");
            }
            getExtractorFactory().addExtractor(keyList, this);
        }
    
        /**
         * Returns the MimeTypeHelper instance from the CrawlerContainer.
         * @return The MimeTypeHelper instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals("\\*\\*\\*\\?\\?\\?", escaped5);
    
            // Test empty string
            String query6 = "";
            String escaped6 = SuggestUtil.escapeWildcardQuery(query6);
            assertEquals("", escaped6);
        }
    
        @Test
        public void testGetAsListWithEmptyList() {
            // Test with empty list
            List<String> emptyList = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        }
    
        /**
         * Create mapping if empty.
         * @param index Index
         * @param type Type
         * @param client OpenSearch client
         */
        protected void createMappingIfEmpty(final String index, final String type, final Client client) {
            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
                boolean empty;
                try {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

         * @param extractor the extractor to add
         * @throws CrawlerSystemException if the key list is null or empty, or if the extractor is null
         */
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
            keyList.stream().distinct().forEach(key -> addExtractor(key, extractor));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            final String content = params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY);
            try {
                return new ExtractData(content);
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            return uri;
        }
    
        /**
         * Returns the character set for the given SMB1 file.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top