- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 109 for setDefault (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 3.2K bytes - Click Count (0) -
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,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.9K bytes - Click Count (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()));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
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,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (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")); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
override val badValue: SocketFactory = object : DelegatingSocketFactory(getDefault()) { override fun configureSocket(socket: Socket): Socket = TODO() } override fun isDefaultValue(value: SocketFactory): Boolean = value === SocketFactory.getDefault() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set]. */ class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?, ) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
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} */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
* A string representing a number * @return The normalized string * @see #normalize(String, Locale) */ public static String normalize(final String s) { return normalize(s, LocaleUtil.getDefault()); } /** * Normalizes the string representation of a number by removing grouping separators * and representing the decimal point with '.'. * * @param sCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
strings.any { name -> majorIssuers.any { issuer -> name.contains(issuer, ignoreCase = true) } } } } private fun startTlsServer(): InetSocketAddress { val serverSocketFactory = ServerSocketFactory.getDefault() serverSocket = serverSocketFactory.createServerSocket() val serverAddress = InetAddress.getByName("localhost") serverSocket!!.bind(InetSocketAddress(serverAddress, 0), 50)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 08:16:15 GMT 2026 - 7.5K bytes - Click Count (0)