Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,833 for Null (0.02 seconds)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

             * expression from properties only.
             */
            if (value != null && type != null && !(value instanceof String) && !isTypeCompatible(type, value)) {
                value = null;
            }
    
            if (value == null) {
                // The CLI should win for defining properties
    
                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

            return new InnerInterpolator() {
                @Override
                public String interpolate(String value) {
                    if (value != null && value.contains("${")) {
                        String c = cache.get(value);
                        if (c == null) {
                            try {
                                c = interpolator.interpolate(value, recursionInterceptor);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        expected[getNullLocation()] = entry(null, v3());
        expectContents(expected);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfPresent_nullKeySupportedAbsent() {
        assertNull(
            "computeIfPresent(null, function) should return null",
            getMap()
                .computeIfPresent(
                    null,
                    (k, v) -> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

            int exitCode = new MavenCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args, null, null, null, false);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
         * @param cause The cause of the build failure, may be {@code null}.
         */
        public BuildFailure(MavenProject project, long time, Throwable cause) {
            this(project, Duration.ofMillis(time), cause);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         * @param coordinates array of {@link ArtifactCoordinates}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error.
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code coordinates} is {@code null} or invalid
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 12 06:19:14 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

         * @param repositories The plugin repositories to use for resolving the plugin's main artifact, must not be {@code
         *            null}.
         * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}.
         * @return The resolved plugin artifact, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        public DefaultLifecycles() {
            this.lookup = null;
            this.registry = null;
        }
    
        /**
         * @deprecated Use {@link #DefaultLifecycles(LifecycleRegistry,Lookup)} instead
         */
        @Deprecated
        public DefaultLifecycles(Map<String, Lifecycle> lifecycles, org.codehaus.plexus.logging.Logger logger) {
            this.customLifecycles = lifecycles;
            this.lookup = null;
            this.registry = null;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        assertTrue(multimap().putAll(k0(), newArrayList(v3(), null)));
        assertGet(k0(), v0(), v3(), null);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnAbsentKey_supported() {
        assertTrue(multimap().putAll(k3(), newArrayList(v3(), null)));
        assertGet(k3(), v3(), null);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top