- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,822 for copyOf (0.04 seconds)
-
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
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) -
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 errorCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.4K bytes - Click Count (0) -
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) -
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) -
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) -
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 @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java
for (CoreExtension source : selectedExtensions.values()) { context.logger.debug("* " + source.getId() + ": " + formatLocation(source.getLocation(""))); } return List.copyOf(selectedExtensions.values()); } protected String formatLocation(InputLocation location) { return location.getSource().getLocation() + ":" + location.getLineNumber(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 4.6K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0)