Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,528 for isEmpty (0.2 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/SelectiveCompiler.java

            CompileTransaction transaction = recompilationSpecProvider.initCompilationSpecAndTransaction(spec, recompilationSpec);
            return transaction.execute(workResult -> {
                if (Iterables.isEmpty(spec.getSourceFiles()) && spec.getClassesToProcess().isEmpty()) {
                    LOG.info("None of the classes needs to be compiled! Analysis took {}. ", clock.getElapsed());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/SingleDepthFilesFinder.java

            @Override
            protected File computeNext() {
                advanceIfNecessary();
                if (stack.isEmpty()) {
                    return endOfData();
                }
                return stack.getLast().next();
            }
    
            private void advanceIfNecessary() {
                while (!stack.isEmpty() && !hasNextWithCorrectDepth()) {
                    if (stack.getLast().hasNext()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/validation/PublicationWarningsCollector.java

        public void complete(String header, Set<String> silencedVariants) {
            variantToWarnings.keySet().removeAll(silencedVariants);
            variantToWarnings.values().removeIf(VariantWarningCollector::isEmpty);
            if (!variantToWarnings.isEmpty()) {
                TreeFormatter treeFormatter = new TreeFormatter();
                treeFormatter.node(header + " warnings (silence with '" + disableMethod + "(variant)')");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainer.java

        }
    
        public Conflict popConflict() {
            assert !conflicts.isEmpty();
            Conflict conflict = conflicts.pop();
            for (K participant : conflict.participants) {
                conflictsByParticipant.remove(participant);
            }
            return conflict;
        }
    
        public boolean isEmpty() {
            return conflicts.isEmpty();
        }
    
        boolean hasMatchingConflict(Predicate<T> predicate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

        @Nonnull
        default Optional<Version> getLowerVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        @Nonnull
        default Optional<Version> getHigherVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(getVersions().size() - 1));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicator.java

                this.newNames = new HashMap<>();
                this.prefixes = new HashMap<>();
            }
    
            private Map<T, String> getNewNames() {
                if (!elements.isEmpty() && newNames.isEmpty()) {
                    calculateNewNames();
                }
    
                return ImmutableMap.copyOf(newNames);
            }
    
            private void calculateNewNames() {
                sortElementsByDepth();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          }
        }
        return containsAll(that);
      }
    
      @Override
      public E first() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(0);
      }
    
      @Override
      public E last() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(size() - 1);
      }
    
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            if (excludes == null || excludes.isEmpty()) {
                return Collections.emptyList();
            }
            return Arrays.stream(excludes.split(","))
                    .map(String::trim)
                    .filter(s -> !s.isEmpty())
                    .collect(Collectors.toList());
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 23 12:25:04 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/EdgeState.java

                    }
                }
                if (targetNodes.isEmpty()) {
                    // There is a chance we could not attach target configurations previously
                    List<EdgeState> unattachedDependencies = targetComponent.getModule().getUnattachedDependencies();
                    if (!unattachedDependencies.isEmpty()) {
                        for (EdgeState otherEdge : unattachedDependencies) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeSet.java

            && !ceilingEntry.getValue().intersection(range).isEmpty()) {
          return true;
        }
        Entry<Cut<C>, Range<C>> priorEntry = rangesByLowerBound.lowerEntry(range.lowerBound);
        return priorEntry != null
            && priorEntry.getValue().isConnected(range)
            && !priorEntry.getValue().intersection(range).isEmpty();
      }
    
      @Override
      public boolean encloses(Range<C> range) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top