Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 99 for SetDefault (0.64 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    proxy = new Proxy(Type.HTTP, addr);
                    if (StringUtil.isNotBlank(getHttpProxyUsername())) {
                        Authenticator.setDefault(new Authenticator() {
                            @Override
                            protected PasswordAuthentication getPasswordAuthentication() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T> void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(TypeToken.class);
        new NullPointerTester()
            .setDefault(TypeParameter.class, new TypeParameter<T>() {})
            .testAllPublicInstanceMethods(TypeToken.of(String.class));
      }
    
      private static class Assignability<From, To> {
    
        boolean isAssignable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }
      }
    
      @AfterEach fun tearDown() {
    //    TODO reenable after https://github.com/square/okhttp/issues/8206
    //    fileSystem.checkNoOpenFiles()
        cache.close()
    
        java.net.Authenticator.setDefault(null)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun get(protocol: Protocol) {
        setUp(protocol)
        server.enqueue(MockResponse(body = "ABCDE"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          clientTestRule
            .newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        cache.delete()
      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T> void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(TypeToken.class);
        new NullPointerTester()
            .setDefault(TypeParameter.class, new TypeParameter<T>() {})
            .testAllPublicInstanceMethods(TypeToken.of(String.class));
      }
    
      private static class Assignability<From, To> {
    
        boolean isAssignable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                assertFalse(renewed, "renewCredentials should return false when NtlmAuthenticator.getDefault() is null");
                assertEquals(mockCredentials, wrapper.getCredentials(),
                        "Credentials should remain unchanged if NtlmAuthenticator.getDefault() is null");
                mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @return the pattern string for {@link DateFormat#SHORT} style
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style in the specified locale.
         *
         * @param locale
         *            Locale. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *
         * @return the pattern string for {@link DateFormat#SHORT} style
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style using the specified locale.
         *
         * @param locale
         *            Locale. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

         */
        public void testFindFractionDelimeter3() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(null);
            final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator();
            assertEquals(Character.toString(c), delim);
        }
    
        /**
         * @throws Exception
         */
        public void testFindIntegerDelimeter() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        val tlsSpec =
          ConnectionSpec
            .Builder(true)
            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(false)
            .build()
        val socket = SSLSocketFactory.getDefault().createSocket() as SSLSocket
        socket.enabledCipherSuites =
          arrayOf(
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top