Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 223 for getProperty (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          throw new UndeclaredThrowableException(e.getCause());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // TODO
      private static boolean isAppEngineWithApiClasses() {
        if (System.getProperty("com.google.appengine.runtime.environment") == null) {
          return false;
        }
        try {
          Class.forName("com.google.appengine.api.utils.SystemProperty");
        } catch (ClassNotFoundException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

           *   Javadoc. (Note that we can't necessarily "just" change our call to `getProperty` to `get`
           *   because `get` does not consult the default properties.)
           */
          builder.put(key, requireNonNull(properties.getProperty(key)));
        }
    
        return builder.buildOrThrow();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

           *   Javadoc. (Note that we can't necessarily "just" change our call to `getProperty` to `get`
           *   because `get` does not consult the default properties.)
           */
          builder.put(key, requireNonNull(properties.getProperty(key)));
        }
    
        return builder.buildOrThrow();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

              // Android's response to the FAIL_HANDSHAKE
            }
            is SSLException -> {
              // JDK 11 response to the FAIL_HANDSHAKE
              val jvmVersion = System.getProperty("java.specification.version")
              assertThat(jvmVersion).isEqualTo("11")
            }
            else -> throw expected
          }
        }
      }
    
      @Test
      fun tlsHostnameVerificationFailure() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

        public void test_getJavaVersion() {
            System.setProperty("java.version", "1.4.2_19");
            assertEquals(4, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.5.0_15");
            assertEquals(5, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.6.0_34");
            assertEquals(6, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.7.0_25");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
            prop2.setProperty("jcifs.smb.client.maxVersion", "SMB302");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.setProperty("abc", "123");
    
            value = "${abc}";
            assertEquals("123", ResourceUtil.resolve(value));
    
            value = "xxx${abc}zzz";
            assertEquals("xxx123zzz", ResourceUtil.resolve(value));
    
            value = "${abc.xyz}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("abc.xyz", "789");
    
            value = "${abc.xyz}";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

     */
    
    package gradlebuild.docs.dsl.source;
    
    import org.gradle.api.DefaultTask;
    import org.gradle.api.NonNullApi;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.SetProperty;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.PathSensitive;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            }
            return schemaFactory;
        }
    
        private static void disableExternalResources(final SchemaFactory schemaFactory) {
            try {
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, "");
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to set a property.", e);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            return p;
        }
    
        private Properties newProperties(String osName, String osVersion, String osArch) {
            Properties props = new Properties();
            props.setProperty("os.name", osName);
            props.setProperty("os.version", osVersion);
            props.setProperty("os.arch", osArch);
            return props;
        }
    
        @Test
        void testVersionStringComparison() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top