Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for hashCode_usesIdentityHashCode_legacyCase (0.34 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

    import okhttp3.internal.applyConnectionSpec
    import org.junit.jupiter.api.Assertions.assertArrayEquals
    import org.junit.jupiter.api.Test
    
    class CipherSuiteTest {
      @Test
      fun hashCode_usesIdentityHashCode_legacyCase() {
        val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_".
        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
Back to Top