Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 996 for useEmpty (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

        }
    
        @Override
        public void initialize() throws InitializationException {
            String mavenVersion = rtInfo.getMavenVersion();
    
            if (mavenVersion == null || mavenVersion.isEmpty()) {
                throw new InitializationException("Unable to read Maven version from maven-core");
            }
    
            applicationVersion = new DefaultArtifactVersion(mavenVersion);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            multimap.asMap().entrySet(), immutableEntry(sampleKey, sampleValueAsCollection));
    
        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    && session.getProjects().size() > 1) {
                final Set<Plugin> unsafePlugins = executionPlan.getNonThreadSafePlugins();
                if (!unsafePlugins.isEmpty()) {
                    for (String s : MultilineMessageHelper.format(
                            "Your build is requesting parallel execution, but this project contains the following "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_clear() {
        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

        JavadocScanner(String rawCommentText) {
            pushText(rawCommentText);
        }
    
        @Override
        public String toString() {
            return input.substring(pos);
        }
    
        public boolean isEmpty() {
            return pos == input.length();
        }
    
        public void mark() {
            markPos = pos;
        }
    
        public void next() {
            next(1);
        }
    
        public void next(int n) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        assertThat(union(emptySet(), emptySet()).immutableCopy()).isEmpty();
        assertThat(intersection(newHashSet(1, 2), newHashSet(3, 4)).immutableCopy()).isEmpty();
        assertThat(difference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
        assertThat(symmetricDifference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
      }
    
      public void testImmutableCopy() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(
                    active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active);
            assertEquals(1, problems.getErrors().size());
            assertEquals(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

                    .filter(a -> a.getVersion().startsWith("3."))
                    .map(a -> a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getVersion())
                    .collect(Collectors.toSet());
    
            if (!mavenArtifacts.isEmpty()) {
                pluginValidationManager.reportPluginValidationIssue(
                        PluginValidationManager.IssueLocality.EXTERNAL,
                        session,
                        pluginArtifact,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

            if (StringUtil.isEmpty(path)) {
                return null;
            }
    
            try {
                final GetObjectTaggingRequest request = GetObjectTaggingRequest.builder().bucket(bucketName).key(path).build();
                final GetObjectTaggingResponse response = awsS3Client.getObjectTagging(request);
                if (response.tagSet() == null || response.tagSet().isEmpty()) {
                    return null;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 21.4K bytes
    - Click Count (0)
Back to Top