Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,014 for empty (0.02 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertFalse(errors.isEmpty(), "Expected collection to not be empty but was empty");
        }
    
        @Test
        void testInvalidArtifactId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
                    "maven-it-plugin",
                    "0.1",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         *
         * @return default upgrade options
         */
        public static UpgradeOptions createDefaultOptions() {
            UpgradeOptions options = mock(UpgradeOptions.class);
            when(options.all()).thenReturn(Optional.empty());
            when(options.infer()).thenReturn(Optional.empty());
            when(options.model()).thenReturn(Optional.empty());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> yes() {
            if (commandLine.hasOption(CLIManager.YES)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<List<String>> goals() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. internal/config/dns/etcd_dns.go

    // client setting, note this will fail if set to empty when
    // constructor initializes.
    func DomainNames(domainNames []string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.domainNames = domainNames
    	}
    }
    
    // DomainIPs set a list of custom domain IPs, note this will
    // fail if set to empty when constructor initializes.
    func DomainIPs(domainIPs set.StringSet) EtcdOption {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      public void testConcat() {
        assertThat(Bytes.concat()).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

         *
         * @return The group id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getGroupId() {
            return groupId;
        }
    
        /**
         * Gets the artifact id of the unresolvable model.
         *
         * @return The artifact id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getArtifactId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/rule_test.go

    			expectedErr: errInvalidRuleID,
    		},
    		{ // Rule with empty ID
    			inputXML: `<Rule>
    							<ID></ID>
    							<Filter><Prefix></Prefix></Filter>
    							<Expiration>
    								<Days>365</Days>
    							</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    			expectedErr: nil,
    		},
    		{ // Rule with empty status
    			inputXML: ` <Rule>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      private static final Map<Integer, Integer> EMPTY = emptyMap();
      private static final Map<Integer, Integer> SINGLETON = singletonMap(1, 2);
    
      public void testMapDifferenceEmptyEmpty() {
        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
         * Returns the list of encryption goals to be executed.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top