Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 451 for EMPTY (0.02 seconds)

  1. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         *
         * @param userCode the unique code identifying the user
         * @param urlList the list of URLs to check against the user's favorites
         * @return a list of URLs from the input list that are in the user's favorites, or an empty list if the user is not found or has no matching favorites
         */
        public List<String> getUrlList(final String userCode, final List<String> urlList) {
            if (urlList.isEmpty()) {
                return urlList;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            // Should have empty arrays initially
            assertEquals(0, protocolHelper.getWebProtocols().length);
            assertEquals(0, protocolHelper.getFileProtocols().length);
        }
    
        @Test
        public void test_loadProtocols_emptyPackage() {
            final ProtocolHelper protocolHelper = new ProtocolHelper();
    
            // Should not throw exception with empty package
            protocolHelper.loadProtocols("");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test basic functionality
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            emptyGenerator.setName("empty");
            String path = "/path/to/thumbnail.jpg";
    
            // Since createTask requires FessConfig, it may not work properly
            // We test that the method can be called without throwing exceptions
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithEmptyMessage() {
            // Test constructor with empty message
            String message = "";
            ScheduledJobException exception = new ScheduledJobException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. .teamcity/scripts/CheckWrapper.java

            Objects.requireNonNull(cmd, "cmd");
            if (cmd.length == 0) throw new IllegalArgumentException("cmd must not be empty");
            ProcessBuilder pb = new ProcessBuilder(cmd);
            Process p = pb.start();
            Future<String> outFuture = readStreamAsync(p.getInputStream());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertEquals("User is not found: testuser", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withEmptyUsername() {
            // Test with empty username
            String username = "";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            // Test with null message
            RuntimeException nullMessageEx = new RuntimeException();
            assertNull(nullMessageEx.getMessage());
    
            // Test with empty message
            RuntimeException emptyMessageEx = new RuntimeException("");
            assertEquals("", emptyMessageEx.getMessage());
        }
    
        // Test JSON response creation helper
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Creates a ScheduledJob entity from the provided form data.
         *
         * @param form the form containing the scheduled job data
         * @return optional entity containing the scheduled job 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
    - 21.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            // Guard against division by zero (should not happen due to caller checks, but defensive)
            if (searchers.length == 0) {
                logger.warn("searchWithMultipleSearchers called with empty searcher array");
                return createResponseList(Collections.emptyList(), 0, Relation.EQUAL_TO.toString(), 0, false, null, params.getStartPosition(),
                        params.getPageSize(), 0);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            List<Map<String, Object>> documentList = new ArrayList<>();
            QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0);
    
            // Test operations on empty list
            assertTrue(qrList.isEmpty());
            assertEquals(0, qrList.size());
    
            assertFalse(qrList.remove(new HashMap<>()));
            assertFalse(qrList.contains(new HashMap<>()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
Back to Top