Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,161 for IsEmpty (0.05 seconds)

  1. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

                helper = ComponentUtil.getLogNotificationHelper();
            } catch (final Exception e) {
                return;
            }
    
            final List<LogNotificationEvent> events = helper.drainAll();
            if (events.isEmpty()) {
                return;
            }
    
            try {
                final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
                final String hostname = ComponentUtil.getSystemHelper().getHostname();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                        .execute()
                        .actionGet(settings.getIndicesTimeout());
    
                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
                if (termTokenList.isEmpty()) {
                    return text;
                }
    
                return termTokenList.get(0).getTerm();
            }
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            }
    
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
            if (roleSet.isEmpty()) {
                for (final LabelTypeItem item : labelList) {
                    if (item.getPermissions().length == 0) {
                        final Map<String, String> map = new HashMap<>(2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy

                runAnt(ant)
            } catch (Exception e) {
                // ant failed, so see if we have buffered output to emit, then rethrow the failure
                String buffer = outputBuffer.toString()
                if (buffer.isEmpty() == false) {
                    logger.error("=== Ant output ===\n${buffer}")
                }
                throw e
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            messages.add(message);
        }
    
        @Override
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.isEmpty()) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
            for (int i = 0; i < messages.size(); i++) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

        }
    
        /**
         * Checks if there are any failures recorded.
         *
         * @return true if there is at least one failure, false otherwise
         */
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
        /**
         * Returns the list of failures.
         *
         * @return a List of Throwable objects representing the failures
         */
        public List<Throwable> getFailures() {
            return failures;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

        }
    
        private void adjustAccessorComment(DocCommentImpl docComment) {
            // Replace 'Returns the ...'/'Sets the ...' with 'The ...'
            List<Element> nodes = docComment.getDocbook();
            if (nodes.isEmpty()) {
                return;
            }
    
            Element firstNode = nodes.get(0);
            if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) {
                return;
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(list.isEmpty(), is(true));
            list.addLast("1");
            assertThat(list.isEmpty(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContaines() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top