Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for supplied (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return buffer.toString();
        }
    
        /**
         * Sets the value of the context value of this project identified by the given key. If the supplied value is
         * <code>null</code>, the context value is removed from this project. Context values are intended to allow core
         * extensions to associate derived state with project instances.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag, s);
            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            throw (T) t; // rely on vacuous cast
        }
    
        static class LazyMap<K, V> extends AbstractMap<K, V> {
            private final Supplier<Map<K, V>> supplier;
            private volatile Map<K, V> delegate;
    
            LazyMap(Supplier<Map<K, V>> supplier) {
                this.supplier = supplier;
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                if (delegate == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        /* MNG-786*/
        @Test
        void testProfileModules() throws Exception {
            PomTestWrapper pom = buildPom("profile-module", "a");
            assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied
            assertEquals(4, ((List<?>) pom.getValue("modules")).size());
            assertEquals("module-2", pom.getValue("modules[1]"));
            assertEquals("module-1", pom.getValue("modules[2]"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            protected Activation.Builder transformActivation_ActiveByDefault(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
                return builder;
            }
    
            @Override
            protected Activation.Builder transformActivation_File(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top