Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 2,833 for Null (0.03 seconds)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/merge/MavenToolchainMerger.java

     */
    @Deprecated(since = "4.0.0")
    public class MavenToolchainMerger {
    
        public void merge(PersistedToolchains dominant, PersistedToolchains recessive, String recessiveSourceLevel) {
            if (dominant == null || recessive == null) {
                return;
            }
    
            recessive.setSourceLevel(recessiveSourceLevel);
    
            shallowMerge(dominant.getToolchains(), recessive.getToolchains(), recessiveSourceLevel);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
       * The tags on a call are seeded from the [request tags][Request.tag]. This set will grow if new
       * tags are computed.
       */
      fun <T : Any> tag(type: KClass<T>): T?
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                    .installationToolchainsSource(
                            installationToolchainsFile != null && Files.exists(installationToolchainsFile)
                                    ? Sources.fromPath(installationToolchainsFile)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        assertTrue("add(null) should return true", collection.add(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

         * without requiring the XML to be parsed. For build sources, this typically
         * returns {@code null} since the coordinates are determined by parsing the POM.
         *
         * @return the model identifier, or {@code null} if not available or not applicable
         * @since 4.0.0
         */
        @Nullable
        default String getModelId() {
            return null;
        }
    
        /**
         * Interface for locating POM files within a project structure.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        assertTrue("add(null) should return true", collection.add(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(defaultSessionFactory.newSession(session));
    
            DefaultSession s = new DefaultSession(session, null, null, null, null, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
            e2 = new MetadataGraphEdge("1.2", true, null, null, 3, 2);
            e3 = new MetadataGraphEdge("1.2", true, null, null, 2, 3);
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * an empty string that by definition denotes the super POM.
         *
         * @return The model identifiers from the lineage of models, never {@code null}.
         */
        List<String> getModelIds();
    
        /**
         * Gets the assembled model.
         *
         * @return The assembled model, never {@code null}.
         */
        Model getEffectiveModel();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

            if (includes != null) {
                includes = substVars(includes, INCLUDES_PROPERTY, configProps, callback);
                StringTokenizer st = new StringTokenizer(includes, "?\",", true);
                if (st.countTokens() > 0) {
                    String location;
                    do {
                        location = nextLocation(st);
                        if (location != null) {
                            boolean mandatory = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top