- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 256 for foreach (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
this.providers = p; // validate lifecycle for (Lifecycle lifecycle : this) { Set<String> set = new HashSet<>(); lifecycle.allPhases().forEach(phase -> { if (!set.add(phase.name())) { throw new IllegalArgumentException( "Found duplicated phase '" + phase.name() + "' in '" + lifecycle.id() + "' lifecycle");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
maven-tests/mvnw.cmd
if ($env:MAVEN_USER_HOME) { $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain" } $MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join '' $MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME" if (Test-Path -Path "$MAVEN_HOME" -PathType Container) { Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME"Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 6.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
// we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links return; } extension.getSourceRoots().getFiles() .forEach( file -> { DokkaSourceLinkSpec sourceLinkSpec = project.getObjects().newInstance(DokkaSourceLinkSpec.class); sourceLinkSpec.getLocalDirectory().set(file);
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 28 11:34:42 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
return false; // This is the first occurrence } }) .toList(); // Remove duplicates while preserving formatting duplicates.forEach(DomUtils::removeElement); return !duplicates.isEmpty(); } private String createDependencyKey(Element dependency) { String groupId = dependency.childText(MavenPomElements.Elements.GROUP_ID);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
if (localRepoHead != null) { Arrays.stream(localRepoHead.split(",")) .filter(p -> p != null && !p.trim().isEmpty()) .map(this::resolve) .forEach(paths::add); } paths.add(Paths.get(request.getLocalRepository().getBasedir())); String localRepoTail = mergedProps.get(Constants.MAVEN_REPO_LOCAL_TAIL); if (localRepoTail != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 05:56:35 GMT 2025 - 25.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
final String delimiter = "-"; final String key = "key"; Cache<String, String> cache; // helper private static void doParallelCacheOp(int count, IntConsumer consumer) { IntStream.range(0, count).parallel().forEach(consumer); } @Override public void setUp() throws Exception { super.setUp(); this.cache = CacheBuilder.newBuilder() .expireAfterAccess(500000, MILLISECONDS)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
*/ protected ArtifactTypeRegistry getArtifactTypeRegistry() { DefaultArtifactTypeRegistry stereotypes = new DefaultArtifactTypeRegistry(); new DefaultTypeProvider().types().forEach(stereotypes::add); return stereotypes; } protected ArtifactDescriptorPolicy getArtifactDescriptorPolicy() { return new SimpleArtifactDescriptorPolicy(true, true); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
var result = JSON.parse('${currentApiChanges.replace('\n', '')}'); // JSON string from report uses double quotes, contain it within single quotes getAllErrorCorrections().forEach((correction) => { correction.acceptation = reason; result.acceptedApiChanges.push(correction); });
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 7.2K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
fun readCapabilitiesFromJson() { val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile val capabilities: List<CapabilitySpec> = readCapabilities(capabilitiesFile) capabilities.forEach { it.configure(dependencies.components, configurations) } } fun readCapabilities(source: File): List<CapabilitySpec> { JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jul 18 11:32:19 GMT 2025 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
size()); } @Override public void forEach(BiConsumer<? super K, ? super V> action) { checkNotNull(action); asMap() .forEach( (key, valueCollection) -> valueCollection.forEach(value -> action.accept(key, value))); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 28.1K bytes - Click Count (0)