Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 1,161 for IsEmpty (0.15 seconds)

  1. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                    return new HighlightInfo();
                }
    
                @Override
                public boolean hasConditionQuery() {
                    return conditions != null && !conditions.isEmpty();
                }
    
            }).escape(escape).build();
        }
    
        // Additional test methods for improved coverage
    
        @Test
        public void test_conditions_filetype() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String jwtClaim = "{}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertTrue(attributes.isEmpty());
        }
    
        @Test
        public void test_parseJwtClaim_complexStructure() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            }
    
            List<String> cmdList = mockProcessHelper.getLastCommandList();
            assertNotNull(cmdList, "Command list should not be null");
            assertTrue("Command list should not be empty", !cmdList.isEmpty());
    
            int cpIndex = cmdList.indexOf("-cp");
            assertTrue("Should have -cp argument", cpIndex >= 0);
            if (cpIndex >= 0 && cpIndex + 1 < cmdList.size()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
                }
            }
    
            if (!jvmOptions.isEmpty()) {
                jvmOptions.stream().filter(StringUtil::isNotBlank).forEach(cmdList::add);
            }
    
            cmdList.add(SuggestCreator.class.getCanonicalName());
    
            cmdList.add("--sessionId");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

        }
    
        @Test
        public void test_getRunningSessionIdSet_empty() {
            Set<String> sessionIds = processHelper.getRunningSessionIdSet();
            assertNotNull(sessionIds);
            assertTrue(sessionIds.isEmpty());
        }
    
        @Test
        public void test_destroyProcess_nonExistent() {
            int result = processHelper.destroyProcess("nonexistent");
            assertEquals(-1, result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          }
        }
    
        void execute() {
          synchronized (runnables) {
            if (executed) {
              return;
            }
            executed = true;
          }
    
          while (!runnables.isEmpty()) {
            runnables.poll().execute();
          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * The method checks each rule to see if it applies to the current time and day.
         *
         * @return the delay in milliseconds, or 0 if no rules apply
         */
        protected long getDelay() {
            if (ruleList.isEmpty()) {
                return 0;
            }
            final Calendar cal = getCurrentCal();
            final int h = cal.get(Calendar.HOUR_OF_DAY);
            final int m = cal.get(Calendar.MINUTE);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * Checks if any processes are currently running.
         *
         * @return true if at least one process is running, false otherwise
         */
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        /**
         * Checks if the process with the given session ID is currently running.
         *
         * @param sessionId unique identifier for the process session
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent();
            Map<String, Object> emptyResult = emptyEvent.toSource();
            assertNotNull(emptyResult);
            assertTrue(emptyResult.isEmpty());
        }
    
        // Test getEventType method
        @Test
        public void test_getEventType() {
            // Test search event type
            TestSearchLogEvent searchEvent = new TestSearchLogEvent("id", 1L, "search");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                    throw new InvalidAccessTokenException("invalid_token", "Access token is requried.");
                                }
                                if (!hasAccessToken || roleSet.isEmpty()) {
                                    roleSet.addAll(fessConfig.getSearchGuestRoleList());
                                }
                            });
                } catch (final RuntimeException e) {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top