Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 281 for getProperty (1.38 sec)

  1. android/guava-tests/test/com/google/common/math/TestPlatform.java

    /**
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullUnmarked
    final class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return false;
      }
    
      static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private TestPlatform() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. build-logic/build.gradle.kts

            val buildLogicProperties = readProperties(buildLogicPropertiesFile.asFile)
            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithStaticImport.java

     * limitations under the License.
     */
    
    package org.gradle.test;
    
    import static java.util.Collections.emptyList;
    
    import java.util.List;
    
    public class JavaClassWithStaticImport {
        List<String> getProperty() { return emptyList(); }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 813 bytes
    - Viewed (0)
  4. okcurl/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("com.gradleup.shadow")
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
      into(layout.buildDirectory.dir("generated/resources-templates"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

                }
    
                private String getFromCache(final String propertyKey) {
                    try {
                        return cache.get(propertyKey,
                                () -> System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey, super.get(propertyKey)));
                    } catch (final ExecutionException e) {
                        return super.get(propertyKey);
                    }
                }
            };
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

            final String value = System.getProperty("java.protocol.handler.pkgs");
            if (StringUtil.isEmpty(value)) {
                buf.append("org.codelibs.fess.net.protocol");
            } else if (!value.contains("org.codelibs.fess.net.protocol")) {
                buf.append("|org.codelibs.fess.net.protocol");
            }
            if (buf.length() > 0) {
                System.setProperty("java.protocol.handler.pkgs", buf.toString());
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            getLogger().debug("Searching for " + key + " in resolution tracking file.");
    
            Properties props = read(touchfile);
            if (props != null) {
                String rawVal = props.getProperty(key);
                if (rawVal != null) {
                    try {
                        return new Date(Long.parseLong(rawVal));
                    } catch (NumberFormatException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            assertEquals(System.getProperty("user.dir"), value);
        }
    
        @Test
        void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {
            String sysprop = "PPEET_sysprop1";
    
            Properties executionProperties = new Properties();
    
            if (executionProperties.getProperty(sysprop) == null) {
                executionProperties.setProperty(sysprop, "value");
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/Environment.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn;
    
    public final class Environment {
        private Environment() {}
    
        public static final String TOOLBOX_VERSION = System.getProperty("version.toolbox", "UNSET version.toolbox");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. module-tests/build.gradle.kts

        exportAllPackages()
        requires("kotlin.stdlib")
        requires("java.logging")
      }
      module("com.squareup.okio:okio", "okio") {
        exportAllPackages()
      }
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
    
      enabled = testJavaVersion > 8
    
      javaLauncher.set(javaToolchains.launcherFor {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:45:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top