Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 163 for getProperty (0.07 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

            } catch (nsae: NoSuchAlgorithmException) {
              SSLContext.getInstance("TLS")
            }
        }
    
      companion object {
        val isAvailable: Boolean
    
        val majorVersion = System.getProperty("java.specification.version")?.toIntOrNull()
    
        init {
          isAvailable =
            if (majorVersion != null) {
              majorVersion >= 9
            } else {
              try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu May 29 16:52:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            versioning.addVersion(artifact.getBaseVersion());
            if (!artifact.isSnapshot()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.setLatest(artifact.getBaseVersion());
            }
    
            metadata.setVersioning(versioning);
    
            return metadata;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  3. gradle/wrapper/gradle-wrapper.jar

    WrapperExecutor(java.io.File, java.util.Properties); public static void loadProperties(java.io.File, java.util.Properties); public final String readDistroUrl(); public final String getProperty(String, String); public final int getProperty(int); public final boolean getProperty(boolean); public final String getProperty(String, String, boolean); }...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 01:56:29 GMT 2025
    - 44.6K bytes
    - Click Count (1)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

        @State(Scope.Benchmark)
        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

            requireNonNull(properties, "properties");
            HashMap<String, String> map = new HashMap<>();
            for (String key : properties.stringPropertyNames()) {
                map.put(key, properties.getProperty(key));
            }
            return map;
        }
    
        @Nonnull
        public static Properties toProperties(Map<String, String> properties) {
            requireNonNull(properties, "properties");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      private lateinit var executor: ExecutorService
    
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        platform.assumeLoom()
        assertThat(System.getProperty("jdk.tracePinnedThreads")).isNotEmpty()
    
        client =
          OkHttpClient
            .Builder()
            .trustMockServer()
            .dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor()))
            .build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (1)
  7. okhttp/build.gradle.kts

      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
      id("app.cash.burst")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    public class TestFileManager {
    
        public static final String TEMP_DIR_PATH = System.getProperty("java.io.tmpdir");
    
        private List<File> filesToDelete = new ArrayList<>();
    
        private final String baseFilename;
    
        private final String fileSuffix;
    
        private StackTraceElement callerInfo;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        assertEquals("foo\nbar\nbaz\n", sink.getString());
      }
    
      public void testWriteLines_withDefaultSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"));
        String separator = System.getProperty("line.separator");
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
      public void testWriteLines_stream() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompilation.kt

                }
            }
        }
    
        @JvmName("associateGroovy")
        fun Project.associate(groovyCompile: TaskProvider<GroovyCompile>) {
            if(!(OperatingSystem.current().isWindows && System.getProperty("os.arch") == "aarch64")) {
                groovyCompile.configure {
                    val javaToolchains = project.the<JavaToolchainService>()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 19 05:45:14 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top