Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 605 for foreach (0.05 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            deleteRecursive(tempDir);
            super.tearDown(testInfo);
        }
    
        private void deleteRecursive(final Path path) throws IOException {
            if (Files.isDirectory(path)) {
                Files.list(path).forEach(child -> {
                    try {
                        deleteRecursive(child);
                    } catch (final IOException e) {
                        // ignore
                    }
                });
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  3. .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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

                return;
            }
    
            LOGGER.warn("The following changelog files {} be deleted:", dryRun ? "can" : "will");
            LOGGER.warn("");
            filesToDelete.forEach(file -> LOGGER.warn("\t{}", rootDir.relativize(file.toPath())));
    
            if (dryRun == false) {
                final Set<File> failedToDelete = deleteHelper.deleteFiles(filesToDelete);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/FacetResponse.java

         *
         * @param aggregations the OpenSearch aggregations containing facet data, may be null
         */
        public FacetResponse(final Aggregations aggregations) {
            if (aggregations != null) {
                aggregations.forEach(aggregation -> {
                    if (aggregation.getName().startsWith(Constants.FACET_FIELD_PREFIX)) {
                        final Terms termFacet = (Terms) aggregation;
                        fieldList.add(new Field(termFacet));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 18:27:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  10. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top