Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 193 for toList (0.04 seconds)

  1. 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)
  2. 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)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.setThreadSafe(true);
            this.setImplementation(md.getImplementation());
            try {
                this.setParameters(md.getParameters().stream().map(Parameter::new).collect(Collectors.toList()));
            } catch (DuplicateParameterException e) {
                throw new IllegalArgumentException(e);
            }
            this.mojoDescriptorV4 = md;
            this.v4Api = true;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
      fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) {
        if (isGraalVmImage) return
        block(suppressed.toList())
      }
    
      @JvmStatic
      fun threadFactory(name: String): ThreadFactory =
        object : ThreadFactory {
          private var nextId = 1
    
    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)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
                            .toList())
                    .build();
        }
    
        static class WrapperLifecycleRegistry implements LifecycleRegistry {
            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
                            .toList())
                    .build();
        }
    
        static class WrapperLifecycleRegistry implements LifecycleRegistry {
            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          apply {
            this.bootstrapDnsHosts = bootstrapDnsHosts
          }
    
        fun bootstrapDnsHosts(vararg bootstrapDnsHosts: InetAddress): Builder = bootstrapDnsHosts(bootstrapDnsHosts.toList())
    
        fun systemDns(systemDns: Dns) =
          apply {
            this.systemDns = systemDns
          }
      }
    
      companion object {
        val DNS_MESSAGE: MediaType = "application/dns-message".toMediaType()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                                t = SENTINEL;
                            }
                            return new Relocation(global, s, t);
                        })
                        .collect(Collectors.toList());
                LOGGER.info("Parsed {} user relocations", relocationList.size());
                return new Relocations(relocationList);
            }
        }
    
        private static Artifact parseArtifact(String coords) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

            if (executorIsShutdown) {
              return@synchronized Effects(
                callsToExecute =
                  readyAsyncCalls
                    .toList()
                    .also { readyAsyncCalls.clear() },
                idleCallbackToRun = idleCallbackToRun,
              )
            }
    
            val callsToExecute = mutableListOf<AsyncCall>()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top