Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unmodifiableCollection (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

         * "expected in provided scope" type of checks.
         */
        static final Collection<String> EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA =
                Collections.unmodifiableCollection(Arrays.asList(
                        "org.apache.maven:maven-archiver", "org.apache.maven:maven-jxr", "org.apache.maven:plexus-utils"));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<Artifact> getAllArtifacts(Project project) {
            ArrayList<Artifact> result = new ArrayList<>(2);
            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

            }
            return obj;
        }
    
        protected static <T> Collection<T> unmodifiable(Collection<T> obj) {
            return obj != null && !obj.isEmpty()
                    ? Collections.unmodifiableCollection(new ArrayList<>(obj))
                    : Collections.emptyList();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                            Artifact.SCOPE_PROVIDED,
                            Artifact.SCOPE_RUNTIME,
                            Artifact.SCOPE_TEST);
                }
            }
            return Collections.unmodifiableCollection(scopes);
        }
    
        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public Collection<ArtifactMetadata> getMetadataList() {
            if (metadataMap == null) {
                return Collections.emptyList();
            }
    
            return Collections.unmodifiableCollection(metadataMap.values());
        }
    
        // ----------------------------------------------------------------------
        // Object overrides
        // ----------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top