- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 163 for getProperty (0.07 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt
val platform = PlatformRule() @Test fun testBuildsWithJettyBoot() { assumeTrue(System.getProperty("java.specification.version") == "1.8") platform.assumeJettyBootEnabled() assertThat(buildIfSupported()).isNotNull() } @Test fun testNotBuildWithOther() { assumeFalse(System.getProperty("java.specification.version") == "1.8") assertThat(buildIfSupported()).isNull() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
clone.getActivation().getFile().getMissing()); assertEquals( p.getActivation().getProperty().getName(), clone.getActivation().getProperty().getName()); assertEquals( p.getActivation().getProperty().getValue(), clone.getActivation().getProperty().getValue()); assertEquals( p.getActivation().getOs().getArch(),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationProperty property = activation.getProperty(); if (property == null) { return false; } String name = property.getName(); boolean reverseName = false; if (name != null && name.startsWith("!")) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
originalSystemProperty = System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); // Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system property if (originalSystemProperty != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
buildSrc/src/main/kotlin/AlpnVersions.kt
* https://github.com/xjdr/xio/blob/master/alpn-boot.gradle */ fun alpnBootVersion(): String? { val version = System.getProperty("alpn.boot.version") if (version != null) { return version } val javaVersion = System.getProperty("java.version") val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
} private static String runner(Map<String, String> add) throws Exception { String separator = FileSystems.getDefault().getSeparator(); String classpath = System.getProperty("java.class.path"); String path = System.getProperty("java.home") + separator + "bin" + separator + (Os.IS_WINDOWS ? "java.exe" : "java"); ProcessBuilder processBuilder =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
substitute(sp, callback); sp.forEach(properties::setProperty); } public static void substitute(MavenProperties props, UnaryOperator<String> callback) { for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) { String name = (String) e.nextElement(); String value = props.getProperty(name); if (value == null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.5K bytes - Click Count (0) -
guava/src/com/google/common/base/StandardSystemProperty.java
import org.jspecify.annotations.Nullable; /** * Represents a {@linkplain System#getProperties() standard system property}. * * @author Kurt Alfred Kluever * @since 15.0 */ @GwtIncompatible // java.lang.System#getProperty public enum StandardSystemProperty { /** Java Runtime Environment version. */ JAVA_VERSION("java.version"), /** Java Runtime Environment vendor. */ JAVA_VENDOR("java.vendor"),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 06 10:03:30 GMT 2025 - 4.9K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
// Remove script caches from TestKit integTest temp dir // location defined in TempTestKitDirProvider, copied here val testKitTmpDir = File(File(System.getProperty("java.io.tmpdir")), ".gradle-test-kit-${System.getProperty("user.name")}") fileSystemOperations.removeCachedScripts(File(testKitTmpDir, "caches")) fileSystemOperations.removeTransformDir(File(testKitTmpDir, "caches"))Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1) -
android/guava/src/com/google/common/io/CharSink.java
* writeLines(lines, System.getProperty("line.separator"))}. * * @throws IOException if an I/O error occurs while writing to this sink */ public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { writeLines(lines, System.getProperty("line.separator")); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 6.7K bytes - Click Count (0)