- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for getDefault (0.1 sec)
-
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
return locale; } private static Supplier<Locale> defaultLocaleSupplier; public static Locale getDefault() { if (defaultLocaleSupplier != null) { return defaultLocaleSupplier.get(); } return Locale.ENGLISH; } public static void setDefault(final Supplier<Locale> localeSupplier) { defaultLocaleSupplier = localeSupplier; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。 * * @return {@link DateFormat#SHORT}スタイルのパターン文字列 */ public static String getShortPattern() { return getShortPattern(LocaleUtil.getDefault()); } /** * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。 * * @param locale * ロケール。{@literal null}であってはいけません
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
} } companion object { private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault() private val DEFAULT_COOKIE_HANDLER = CookieManager.getDefault() private val DEFAULT_RESPONSE_CACHE = ResponseCache.getDefault() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
mockWebServer.serverSocketFactory = ServerSocketFactory.getDefault() val url: HttpUrl = mockWebServer.url("") mockWebServer.bodyLimit = 0L mockWebServer.protocolNegotiationEnabled = false mockWebServer.protocols = listOf() val protocols: List<Protocol> = mockWebServer.protocols mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false) mockWebServer.noClientAuth()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
/** * @throws Exception */ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @Test public void testToCalendar() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
} private static Predicate<Artifact> toPredicate(Exclusion exclusion) { PathMatcher groupId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getGroupId()); PathMatcher artifactId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getArtifactId()); Predicate<Artifact> predGroupId = a -> groupId.matches(createPathProxy(a.getGroupId()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
/** * @author higa * */ public class LocaleUtilTest extends TestCase { /** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja")); assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0)