Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 256 for foreach (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

                    exceptions.add(e);
                }
            }
            if (!exceptions.isEmpty()) {
                InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        @Override
        protected MavenContext createContext(InvokerRequest invokerRequest) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
                                .forEach(path -> {
                                    try {
                                        Files.deleteIfExists(path);
                                    } catch (Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                session.getMavenSession().getAllProjects().stream()
                        .flatMap(this::getProjectArtifacts)
                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            val outputPath = projectDir.resolve("mylib.jar")
            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
                        Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Mar 25 08:50:34 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                }
                localRepository.get().asFileTree.matching { include("**/*.module") }.forEach {
                    val content = it.readText()
                        .replace("\"buildId\":\\s+\"\\w+\"".toRegex(), "\"buildId\": \"\"")
                        .replace("\"size\":\\s+\\d+".toRegex(), "\"size\": 0")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
                                .forEach(path -> {
                                    try {
                                        Files.deleteIfExists(path);
                                    } catch (Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

                logger.lifecycle("Skip warmning up Android home because ANDROID_HOME/ANDROID_SDK_ROOT env vars are not set.")
                return
            }
            sdkVersions.orNull.orEmpty().forEach { version ->
                val projectName = "platform-${version.compileSdk}-buildtools-${version.buildTools.replace(".", "-")}"
                val projectDir = File(warmupProjectsDirectory.get().asFile, projectName)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Synchronized.java

        public Stream<E> parallelStream() {
          synchronized (mutex) {
            return delegate().parallelStream();
          }
        }
    
        @Override
        public void forEach(Consumer<? super E> action) {
          synchronized (mutex) {
            delegate().forEach(action);
          }
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().remove(o);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
                        .filter(str -> !str.isEmpty())
                        .forEach(request.getProjectActivation()::activateOptionalProjectNonRecursive);
                LOGGER.info("Resuming from {} due to the --resume / -r feature.", propertyValue);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterables.java

        }
    
        @Override
        public Iterator<T> iterator() {
          return Iterators.unmodifiableIterator(iterable.iterator());
        }
    
        @Override
        public void forEach(Consumer<? super T> action) {
          iterable.forEach(action);
        }
    
        @SuppressWarnings("unchecked") // safe upcast, assuming no one has a crazy Spliterator subclass
        @Override
        public Spliterator<T> spliterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
Back to Top