Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 2,833 for Null (0.05 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "99", "aarch64")));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          getMap().putIfAbsent(k0(), null);
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @return A function that applies each function in the collection in order until a non-null result is found.
         *         If all functions return null, the composite function returns null.
         *
         * @throws NullPointerException if the input collection is null or contains null elements.
         */
        static UnaryOperator<String> chain(Collection<? extends UnaryOperator<String>> functions) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            this.syncContextFactory = Objects.requireNonNull(syncContextFactory, "syncContextFactory cannot be null");
            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
            this.versionScheme = Objects.requireNonNull(versionScheme, "versionScheme cannot be null");
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

        }
    
        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
                    if (message.endsWith(".") || message.endsWith("!") || message.endsWith(":")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeRangeMap.java

        return (entry == null) ? null : entry.getValue();
      }
    
      @Override
      public @Nullable Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
        override val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            if (spec == null) {
                return null;
            }
    
            VersionRange cached = CACHE_SPEC.get(spec);
            if (cached != null) {
                return cached;
            }
    
            List<Restriction> restrictions = new ArrayList<>();
            String process = spec;
            ArtifactVersion version = null;
            ArtifactVersion upperBound = null;
            ArtifactVersion lowerBound = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            MavenSession ms = new MavenSession(null, rss, mer, null);
            DefaultSession session =
                    new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null);
    
            assertEquals(
                    RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. 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();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
Back to Top