Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,960 for nulls (0.31 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java

            }
        }
    
        @Test
        void handlesAbsentTransferSource() throws InterruptedException, TransferCancelledException {
            TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", null, null);
    
            RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class);
            TransferListener delegate = Mockito.mock(TransferListener.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Feb 06 11:28:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

         * has a current project, its plugin repositories will be used as well.
         *
         * @param plugin The plugin for which to resolve a version, must not be {@code null}.
         * @param session The Maven session to use, must not be {@code null}.
         */
        public DefaultPluginVersionRequest(Plugin plugin, MavenSession session) {
            setGroupId(plugin.getGroupId());
            setArtifactId(plugin.getArtifactId());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            } else {
                return null;
            }
        }
    
        public static ArtifactRepositoryPolicy buildArtifactRepositoryPolicy(
                org.apache.maven.model.RepositoryPolicy policy) {
            boolean enabled = true;
    
            String updatePolicy = null;
    
            String checksumPolicy = null;
    
            if (policy != null) {
                enabled = policy.isEnabled();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

         *            information along, may be <code>null</code>.
         */
        public void merge(Model target, Model source, boolean sourceDominant, Map<?, ?> hints) {
            Objects.requireNonNull(target, "target cannot be null");
    
            if (source == null) {
                return;
            }
    
            Map<Object, Object> context = new HashMap<>();
            if (hints != null) {
                context.putAll(hints);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0");
        }
    
        @Test
        @DisplayName("Should handle null hostname in getByName")
        void testGetByNameWithNull() {
            // When/Then
            assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getByName(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

      public void testContainsEntryNullYes() {
        initMultimapWithNullKeyAndValue();
        assertTrue(multimap().containsEntry(null, null));
      }
    
      @MapFeature.Require({ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_VALUE_QUERIES})
      public void testContainsEntryNullNo() {
        assertFalse(multimap().containsEntry(null, null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

         *
         * @param model The model whose duplicate elements should be merged, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void mergeDuplicates(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            } else if (exception instanceof NullPointerException) {
                // Empty input causes null ASN1 object, which is expected behavior
                assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""),
                        "NullPointerException should be from null ASN1 object.");
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
     * // Get trimmed text content
     * String trimmedVersion = parent.child("version")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            localRepositoryPath = (localRepository != null) ? new File(localRepository) : null;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setSystemProperties(Properties properties) {
            if (properties != null) {
                this.systemProperties = SystemProperties.copyProperties(properties);
            } else {
                this.systemProperties = null;
            }
    
            return this;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top