Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 401 for isEmpty (0.21 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

        }
    
        public static Number getConfidencePercentage(MeasuredOperationList baseline, MeasuredOperationList current) {
            if (baseline.isEmpty() || current.isEmpty()) {
                // This is a workaround for https://github.com/gradle/gradle-private/issues/1690
                return new BigDecimal(0);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                // The file pom may not contain the modelVersion yet, as it may be set later by the
                // ModelVersionXMLFilter.
                if (m.getModelVersion() != null && !m.getModelVersion().isEmpty()) {
                    validateModelVersion(problems, m.getModelVersion(), m, VALID_MODEL_VERSIONS);
                }
    
                validateStringNoExpression("groupId", problems, Severity.WARNING, Version.V20, m.getGroupId(), m);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ProjectReportTask.java

                .collect(Collectors.toList());
    
            StyledTextOutput styledTextOutput = getRenderer().getTextOutput();
            if (!softwareTypes.isEmpty()) {
                renderSectionTitle("Available software types");
                styledTextOutput.println();
    
                softwareTypes.forEach(type -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                    Integer depth = usages.remove(Thread.currentThread());
                    if (depth > 1) {
                        usages.put(Thread.currentThread(), depth - 1);
                    }
                    if (usages.isEmpty()) {
                        condition.signalAll();
                        if (state == State.STOPPING) {
                            state = State.STOPPED;
                        }
                    }
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java

                classpath.addAll(workerMainClassPath);
            }
            modulePath.addAll(applicationModulePath);
            classpath.addAll(applicationClasspath);
    
            if (!modulePath.isEmpty() && implementationModulePath != null && !implementationModulePath.isEmpty()) {
                // We add the implementation module path as well, as we do not load modules dynamically through a separate class loader in the worker.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:09:51 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExpectedDeprecationWarning.java

            Preconditions.checkArgument(pattern != null && !pattern.isEmpty(), "pattern must not be null or empty");
            return withPattern(Pattern.compile(pattern), 1);
        }
    
        public static ExpectedDeprecationWarning withMultiLinePattern(String pattern, int numLines) {
            Preconditions.checkArgument(pattern != null && !pattern.isEmpty(), "pattern must not be null or empty");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MoreCollectors.java

        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
        Object getElement() {
          if (element == null) {
            throw new NoSuchElementException();
          } else if (extras.isEmpty()) {
            return element;
          } else {
            throw multiples(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

                return Iterators.size(iterator());
              }
    
              @Override
              public boolean isEmpty() {
                return !iterator().hasNext();
              }
            };
          }
    
          Iterator<Entry<Range<K>, V>> entryIterator() {
            if (subRange.isEmpty()) {
              return Iterators.emptyIterator();
            }
            Cut<K> cutToStart =
                MoreObjects.firstNonNull(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
            if (versioning.getLatest() != null && !versioning.getLatest().isEmpty()) {
                merge(LATEST, infos, versioning.getLastUpdated(), versioning.getLatest(), repository);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
            List<Plugin> plugins = metadata.getPlugins();
            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top