Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unchecked (0.79 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

        }
    
        @Override
        @SuppressWarnings({"unchecked"})
        public <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data) {
            return (T) computeIfAbsent(new GavCacheKey(groupId, artifactId, version, tag), data);
        }
    
        @Override
        @SuppressWarnings({"unchecked"})
        public <T> T computeIfAbsent(Source path, String tag, Supplier<T> data) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        }
                        List<Supplier<Object>> list =
                                res3.stream().map(this::compile).collect(Collectors.toList());
                        //noinspection unchecked
                        return () -> (Q) list(list);
                    }
                    if (key.getRawType() == Map.class) {
                        Key<?> k = key.getTypeParameter(0);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

        private final Lookup lookup;
    
        @Inject
        PropertyContributorExtender(Lookup lookup) {
            this.lookup = lookup;
        }
    
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 20 15:38:09 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultTypeProvider.java

    import org.apache.maven.api.Type;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.spi.TypeProvider;
    
    @Named
    public class DefaultTypeProvider implements TypeProvider {
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public Collection<Type> provides() {
            return (Collection) types();
        }
    
        public Collection<DefaultType> types() {
            return Arrays.asList(
                    // Maven types
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            public <T> void seed(Class<T> clazz, Provider<T> value) {
                provided.put(Key.get(clazz), new CachingProvider<>(value));
            }
    
            @SuppressWarnings("unchecked")
            public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) {
                Provider<?> provider = provided.computeIfAbsent(key, k -> new CachingProvider<>(unscoped));
                return (Provider<T>) provider;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

                    provided = unscoped.get();
                    state.provided.put(key, provided);
                }
    
                return provided;
            };
        }
    
        @SuppressWarnings({"unchecked"})
        public static <T> Provider<T> seededKeyProvider() {
            return (Provider<T>) SEEDED_KEY_PROVIDER;
        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
        @SuppressWarnings("unchecked")
        public DefaultProfileActivationContext setSystemProperties(Properties systemProperties) {
            return setSystemProperties(toMap(systemProperties));
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

    package org.apache.maven.project;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
     * Currently, this modification would create compatibility problems for existing plugins.
     */
    public class DuplicateArtifactAttachmentException extends RuntimeException {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
        @Nonnull
        Node filter(@Nonnull Predicate<Node> filter);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         */
        RepositoryRequest setOffline(boolean offline);
    
        /**
         * Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their
         * configured update policy.
         *
         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top