Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 3,043 for copyOf (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

        public UpgradeResult {
            // Defensive copying to ensure immutability
            processedPoms = Set.copyOf(processedPoms);
            modifiedPoms = Set.copyOf(modifiedPoms);
            errorPoms = Set.copyOf(errorPoms);
        }
    
        /**
         * Creates a successful result with the specified processed and modified POMs.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

                    sut.getOptionalProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors);
    
            assertEquals(1, optionalProjectsBySelectors.size());
            assertEquals(List.of(mavenProject), List.copyOf(optionalProjectsBySelectors));
        }
    
        @Test
        void getRequiredProjectsBySelectorsThrowsMavenExecutionException() {
            final HashSet<String> selectors = new HashSet<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

                if (o.isPresent()) {
                    had++;
                    items.addAll(o.get());
                }
            }
            return had == 0 ? Optional.empty() : Optional.of(List.copyOf(items));
        }
    
        protected Optional<Map<String, String>> collectMapIfPresentOrEmpty(
                Function<O, Optional<Map<String, String>>> getter) {
            int had = 0;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 26 17:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
            super(message);
            this.results = List.copyOf(allResults);
        }
    
        /**
         * Returns the list of results from all requests that were part of the batch operation.
         * Each result contains the original request, the response (if successful), and any error
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                    this.profiles = profiles != null ? List.copyOf(profiles) : List.of();
                    this.activeProfileIds = activeProfileIds != null ? List.copyOf(activeProfileIds) : List.of();
                    this.inactiveProfileIds = inactiveProfileIds != null ? List.copyOf(inactiveProfileIds) : List.of();
                    this.systemProperties =
                            systemProperties != null ? Map.copyOf(systemProperties) : session.getSystemProperties();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                        @Nonnull Collection<? extends ArtifactCoordinates> coordinates,
                        @Nonnull List<RemoteRepository> repositories) {
                    super(session, trace);
                    this.coordinates = List.copyOf(requireNonNull(coordinates, "coordinates cannot be null"));
                    this.repositories = validate(repositories);
                }
    
                @Nonnull
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

                        Path rootDirectory) {
                    this.userProperties = Map.copyOf(userProperties);
                    this.systemProperties = Map.copyOf(systemProperties);
                    Map<String, String> cp = new HashMap<>(systemProperties);
                    cp.putAll(userProperties);
                    this.effectiveProperties = Map.copyOf(cp);
                    this.startTime = requireNonNull(startTime);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            loaded = readCoreExtensionsDescriptorFromFile(file, true);
            if (!loaded.isEmpty()) {
                result.add(new CoreExtensions(file, loaded));
            }
    
            return result.isEmpty() ? null : List.copyOf(result);
        }
    
        protected List<CoreExtension> readCoreExtensionsDescriptorFromFile(Path extensionsFile, boolean allowMetaVersions) {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                        @Nullable RequestTrace trace,
                        @Nonnull Collection<ProducedArtifact> artifacts) {
                    super(session, trace);
                    this.artifacts = List.copyOf(requireNonNull(artifacts, "artifacts cannot be null"));
                }
    
                @Nonnull
                @Override
                public Collection<ProducedArtifact> getArtifacts() {
                    return artifacts;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                        int retryFailedDeploymentCount) {
                    super(session, trace);
                    this.repository = requireNonNull(repository, "repository cannot be null");
                    this.artifacts = List.copyOf(requireNonNull(artifacts, "artifacts cannot be null"));
                    this.retryFailedDeploymentCount = retryFailedDeploymentCount;
                }
    
                @Nonnull
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top