Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UNUSED_PARAMETER (0.08 sec)

  1. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean =
        when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              authType: String?,
            ) {
              withoutHostCalled = true
            }
    
            // called by Android via reflection in X509TrustManagerExtensions
            @Suppress("unused", "UNUSED_PARAMETER")
            fun checkServerTrusted(
              chain: Array<out X509Certificate>,
              authType: String,
              hostname: String,
            ): List<X509Certificate> {
              withHostCalled = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
Back to top