Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,822 for null (0.02 seconds)

  1. 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)
  2. 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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        }
    
        if (requestMethod != "GET") {
          // Don't cache non-GET responses. We're technically allowed to cache HEAD, QUERY and some
          // POST requests, but the complexity of doing so is high and the benefit is low.
          return null
        }
    
        if (response.hasVaryAll()) {
          return null
        }
    
        val entry = Entry(response)
        var editor: DiskLruCache.Editor? = null
        try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        int initialSize = collection.size();
        assertTrue("remove(null) should return true", collection.remove(null));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing((E) null);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                getMap()
                    .computeIfAbsent(
                        null,
                        k -> {
                          assertNull(k);
                          return v3();
                        }));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported computeIfAbsent(null, function)");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

            this.servers = (servers != null) ? servers : new ArrayList<>();
            this.proxies = (proxies != null) ? proxies : new ArrayList<>();
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public Server getServer() {
            return servers.isEmpty() ? null : servers.get(0);
        }
    
        @Override
        public List<Server> getServers() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractTable.java

        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top