Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for get$default (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                    case DATA -> {
                        final DataConfigService dataConfigService = ComponentUtil.getComponent(DataConfigService.class);
                        yield dataConfigService.getDataConfig(id).get();
                    }
                    default -> null;
                    };
                });
            } catch (final Exception e) {
                logger.warn("Failed to access a crawling config cache: {}", configId, e);
                return null;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getDefault() {
            if (defaultLocaleSupplier != null) {
                return defaultLocaleSupplier.get();
            }
            return Locale.ENGLISH;
        }
    
        /**
         * Sets the default locale supplier.
         *
         * @param localeSupplier
         *            the supplier for the default locale
         */
        public static void setDefault(final Supplier<Locale> localeSupplier) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmAuthenticator.java

         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
            if (auth != null) {
                return;
            }
            auth = a;
        }
    
        /**
         * Gets the default NTLM authenticator.
         * @return the default authentication credentials provider
         */
        public static NtlmAuthenticator getDefault() {
            return auth;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            TimeZone original = TimeZone.getDefault();
            try {
                TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
                ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0);
                long readTime = ServerMessageBlock.readUTime(buffer, 0);
                assertEquals(unixTime * 1000L, readTime);
            } finally {
                TimeZone.setDefault(original);
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts an object to {@link Date}.
         *
         * @param src the source object
         * @param pattern the pattern string
         * @return the converted {@link Date}
         */
        public static Date toDate(final Object src, final String pattern) {
            return toDate(src, pattern, LocaleUtil.getDefault());
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        proxySelector: ProxySelector = this.proxySelector,
      ): Address =
        Address(
          uriHost = uriHost,
          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = protocols,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

         * Returns {@link DecimalFormatSymbols}.
         *
         * @return {@link DecimalFormatSymbols}
         */
        public static DecimalFormatSymbols getDecimalFormatSymbols() {
            return getDecimalFormatSymbols(LocaleUtil.getDefault());
        }
    
        /**
         * Returns {@link DecimalFormatSymbols}.
         *
         * @param locale
         *            The locale. Must not be {@literal null}.
         * @return {@link DecimalFormatSymbols}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top