Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for isEmpty (0.12 sec)

  1. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
                    if (message.endsWith(".") || message.endsWith("!") || message.endsWith(":")) {
                        message += " ";
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty()
       * range.isEmpty()}, this is equivalent to {@link ImmutableRangeSet#of()}.
       */
      public static <C extends Comparable> ImmutableRangeSet<C> of(Range<C> range) {
        checkNotNull(range);
        if (range.isEmpty()) {
          return of();
        } else if (range.equals(Range.all())) {
          return all();
        } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

                this.implementationModulepath = implementationModulepath;
            }
    
            public boolean isEmpty() {
                return applicationClasspath.isEmpty() && applicationModulepath.isEmpty() &&
                    implementationClasspath.isEmpty() && implementationModulepath.isEmpty();
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            @Override
            public void call(SourceUnit source) {
                if (!source.getAST().getMethods().isEmpty()) {
                    hasMethods = true;
                }
                emptyScript = isEmpty(source);
            }
    
            private boolean isEmpty(SourceUnit source) {
                List<Statement> statements = source.getAST().getStatementBlock().getStatements();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
        RegularImmutableSortedSet<Range<K>> rangeSet =
            new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering());
        return new ImmutableSortedMap<>(rangeSet, values);
      }
    
      @Override
      public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                boolean isBlankVersion = descriptor.getRequiredMavenVersion() == null
                        || descriptor.getRequiredMavenVersion().trim().isEmpty();
    
                if (isBlankVersion) {
                    // only take value from underlying POM if plugin descriptor has no explicit Maven requirement
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

        public void close() {
            CompositeStoppable.stoppable(executor, cache).stop();
        }
    
        @Override
        public ClassPath transform(ClassPath classPath, StandardTransform transform) {
            if (classPath.isEmpty()) {
                return classPath;
            }
            return transformPipelineFor(transform).transform(classPath);
    
        }
    
        @FunctionalInterface
        private interface TransformPipeline {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                        Set<JavaAnnotation<JavaMethod>> nullableAnnotations = extractPossibleNullable(annotations);
                        if (!nullableAnnotations.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top