- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 256 for foreach (0.05 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
causes.add(e); } } } if (causes != null) { InvokerException exception = new InvokerException("Unable to close context"); causes.forEach(exception::addSuppressed); throw exception; } } public final void closeContainer() throws Exception { if (containerCapsuleManaged) { doCloseContainer();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
public Stream<BuildStep> allPredecessors() { return preds(new HashSet<>()).stream(); } private Set<BuildStep> preds(Set<BuildStep> preds) { if (preds.add(this)) { this.predecessors.forEach(n -> n.preds(preds)); } return preds; } public boolean isSuccessorOf(BuildStep step) { return isSuccessorOf(new HashSet<>(), step); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 30 16:21:08 GMT 2025 - 4.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
determineSubProjectClassTimes(testCoverage, buildProjectClassTimes)?.toMutableMap() ?: return validSubprojects.map { SmallSubprojectBucket(it, ParallelizationMethod.None) } validSubprojects.forEach { if (!subProjectToClassTimes.containsKey(it.name)) { subProjectToClassTimes[it.name] = emptyList() } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
} } private fun openJarFile(file: File) = openJars.computeIfAbsent(file, ::JarFile) override fun close() { openJars.values.forEach(JarFile::close) } } /** * See https://docs.oracle.com/javase/8/docs/technotes/tools/findingclasses.html#userclass */ private val File.isClassPathArchiveCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 6.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
} private fun checkForStartEvent(e: CallEvent) { if (eventsForMatching.isEmpty()) { assertThat(e).matchesPredicate { it is CallStart || it is Canceled } } else { eventsForMatching.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 4.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
pattern.exclude("**/index.adoc"); // Exclude index.adoc files }) .forEach(file -> gatherDeadLinksInFileSamples(file, errors)); getDocumentationRoot().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(file -> { gatherDeadLinksInFile(file, errors); }); reportErrors(errors, getReportFile().get().getAsFile());
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
resolutionStrategy.dependencySubstitution.all { val requested = this.requested as? ModuleComponentSelector ?: return@all keepPatterns.forEach { coordinates, _ -> if ("${requested.group}:${requested.module}" == coordinates) { val updated = DefaultModuleComponentSelector.withAttributes(Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 25 16:18:05 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
val jarUri = URI.create("jar:${jarFile.toPath().toUri()}") FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem -> jarFileSystem.rootDirectories.forEach { visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath()) } } return classGraph } private fun classGraph() =Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
} private fun checkForStartEvent(e: ConnectionEvent) { if (eventSequence.isEmpty()) { assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java) } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 5.7K bytes - Click Count (0)