Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 503 for useEmpty (0.09 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            EmptyLifecycleBindingsInjector.lifecycleRegistry = lifecycleRegistry;
            EmptyLifecycleBindingsInjector.packagingRegistry = packagingRegistry;
        }
    
        public static void useEmpty() {
            lifecycleRegistry = emptyLifecycleRegistry;
            packagingRegistry = emptyPackagingRegistry;
        }
    
        private static Plugin newPlugin(String artifactId, String... goals) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null;
            this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;
            this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null;
            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
            this.version = (version != null && !version.isEmpty()) ? version : null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter.go

    			default:
    				return errUnknownXMLTag
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        }
        assertEquals(expectedSize, size2);
      }
    
      @CollectionSize.Require(ZERO)
      public void testIsEmptyYes() {
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmptyNo() {
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testSizeNullKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        assertThat(requirements.getPresentFeatures()).isEmpty();
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
      public void testBuildTesterRequirements_class_empty() throws Exception {
        @Require
        class Tester {}
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class);
    
        assertThat(requirements.getPresentFeatures()).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

        }
    
        public ExecutionListener chainListener(ExecutionListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyExecutionListener(this, listener);
        }
    
        public RepositoryListener chainListener(RepositoryListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyRepositoryListener(this, listener);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            Set<Artifact> resolved = new LinkedHashSet<>();
    
            if (projects == null || projects.isEmpty()) {
                return resolved;
            }
    
            if ((scopesToCollect == null || scopesToCollect.isEmpty())
                    && (scopesToResolve == null || scopesToResolve.isEmpty())) {
                return resolved;
            }
    
            /*
    
            Logic for transitive global exclusions
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        public boolean isEmpty() {
            return entry == null || vertices == null || vertices.isEmpty();
        }
    
        // ------------------------------------------------------------------------
        public boolean isEmptyEdges() {
            return isEmpty() || incidentEdges == null || incidentEdges.isEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top