Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 422 for isEmpty (0.09 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. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java

            boolean w = false;
            w = addToStringField(sb, prefix, o -> !o.isEmpty(), "prefix", w);
            w = addToStringField(sb, namespaceUri, o -> !o.isEmpty(), "namespaceUri", w);
            w = addToStringField(sb, name, o -> !o.isEmpty(), "name", w);
            w = addToStringField(sb, value, o -> !o.isEmpty(), "value", w);
            w = addToStringField(sb, attributes, o -> !o.isEmpty(), "attributes", w);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

                }
            }
    
            if (!caseInsensitiveMatches.isEmpty()) {
                matches.addAll(caseInsensitiveMatches);
            } else if (!caseSensitiveCamelCaseMatches.isEmpty()) {
                matches.addAll(caseSensitiveCamelCaseMatches);
            } else if (kebabCaseMatches.isEmpty() && kebabCasePrefixMatches.isEmpty()) {
                matches.addAll(caseInsensitiveCamelCaseMatches);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

            if (getSource() != null && !getSource().isEmpty()) {
                buffer.append(getSource());
            }
            if (getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
                buffer.append("line ").append(getLineNumber());
            }
            if (getColumnNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/util/NameMatcher.java

                }
            }
    
            if (!caseInsensitiveMatches.isEmpty()) {
                matches.addAll(caseInsensitiveMatches);
            } else if (!caseSensitiveCamelCaseMatches.isEmpty()) {
                matches.addAll(caseSensitiveCamelCaseMatches);
            } else if (kebabCaseMatches.isEmpty() && kebabCasePrefixMatches.isEmpty()) {
                matches.addAll(caseInsensitiveCamelCaseMatches);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:48:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            return stack.getFirst();
        }
    
        public void exit() throws MojoExecutionException {
            final LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "The property name is required to activate the profile " + profile.getId(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

            AttributeMatcher attributeMatcher = consumerSchema.withProducer(targetComponent.getAttributesSchema());
    
            if (!consumerAttributes.isEmpty() && !conf.getAttributes().isEmpty()) {
                // Need to validate that the selected configuration still matches the consumer attributes
                if (!attributeMatcher.isMatching(conf.getAttributes(), consumerAttributes)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

        }
    
        public void assertLinesContainedIn(List<String> expectedLines, List<String> actualLines) throws LineSearchFailures.AbstractLineListComparisonFailure {
            assert !expectedLines.isEmpty() : "there must be expected text";
            assert !actualLines.isEmpty() : "there must be output text";
    
            if (actualLines.size() < expectedLines.size()) {
                LineSearchFailures.insufficientSize(expectedLines, actualLines);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top