Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 149 for toList (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

            this.artifactTransformations = Stream.of("release", "latest", "snapshot")
                    .map(artifactTransformations::get)
                    .filter(Objects::nonNull)
                    .collect(Collectors.toList());
        }
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request)
                throws ArtifactResolutionException, ArtifactNotFoundException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            // Filter and execute applicable strategies
            List<UpgradeStrategy> applicableStrategies = strategies.stream()
                    .filter(strategy -> strategy.isApplicable(context))
                    .toList();
    
            if (applicableStrategies.isEmpty()) {
                context.warning("No applicable upgrade strategies found");
                return overallResult;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
            // TODO: Remove the following code when maven-compat is gone
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * currently-executing task unless it is also scheduled for future execution.
       */
      val scheduledTasks: List<Task>
        get() = taskRunner.withLock { futureTasks.toList() }
    
      /**
       * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
       * scheduled. If the task is already in the queue, the earliest execution time is used.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

          enabledProtocols = javaNames(*tlsVersions)
        }
    
      private fun assertEnabledProtocols(
        socket: SSLSocket,
        vararg required: TlsVersion,
      ) {
        assertThat(socket.enabledProtocols.toList()).containsExactlyInAnyOrder(*javaNames(*required))
      }
    
      private fun javaNames(vararg tlsVersions: TlsVersion) = tlsVersions.map { it.javaName }.toTypedArray()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        prune((ModelBase.Builder) builder, p);
                        return builder.build(null).build();
                    })
                    .filter(p -> !isEmpty(p))
                    .collect(Collectors.toList());
        }
    
        private static boolean isEmpty(Profile profile) {
            return profile.getActivation() == null
                    && profile.getBuild() == null
                    && profile.getDependencies().isEmpty()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

         */
        public ProjectBuildList getByTaskSegment(TaskSegment taskSegment) {
            return new ProjectBuildList(
                    items.stream().filter(pb -> taskSegment == pb.getTaskSegment()).collect(Collectors.toList()));
        }
    
        public Map<MavenProject, ProjectSegment> selectSegment(TaskSegment taskSegment) {
            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

          "Mon, 18 Aug 2014 15:16:06 GMT",
        )
      }
    
      companion object {
        fun fromArgs(vararg args: String): Main =
          Main().apply {
            parse(args.toList())
          }
    
        private fun bodyAsString(body: RequestBody?): String =
          try {
            val buffer = Buffer()
            body!!.writeTo(buffer)
            buffer.readString(body.contentType()!!.charset()!!)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    List<XmlNode> children = dom.children().stream()
                            .filter(c -> !"wagonProvider".equals(c.name()))
                            .collect(Collectors.toList());
                    dom = XmlNode.newInstance(dom.name(), children);
                    PlexusConfiguration config = XmlPlexusConfiguration.toPlexusConfiguration(dom);
    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)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      @Deprecated(
        "replaced with {@link #check(String, List)}.",
        ReplaceWith("check(hostname, peerCertificates.toList())"),
      )
      @Throws(SSLPeerUnverifiedException::class)
      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
      ) {
        check(hostname, peerCertificates.toList())
      }
    
      /**
       * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.1K bytes
    - Click Count (1)
Back to Top