DeadCodeElimination-0197f05c-e337-73b3-acb2-ccfcce1ad728 #3449
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gig
Ran track: This automated PR eliminates dead code.
Code Cleanup Details
android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt
context
context
build.gradle.kts
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
bodyDelay
bodySize
body
(2 times)chunkSizes
dispatcher
(2 times)handshake
header
headersDelay
headers
(3 times)hostName
http2ErrorCode
method
(2 times)mockResponse
nullableRequest
path
(2 times)port
protocols
pushPromise
pushPromises
recordedRequest
requestCount
requestLine
requestUrl
request
response
sequenceNumber
settings
socketPolicy
(2 times)status
throttleBytesPerPeriod
throttlePeriod
tlsVersion
toProxyAddress
trailers
url
utf8Body
webSocketListener
dispatcher
hostName
mockResponse
pushPromises
recordedRequest
settings
status
throttleBytesPerPeriod
webSocketListener
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
ASCII
TYPE_PTR
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
defaultSupportedCipherSuites
defaultSupportedCipherSuites
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
address
(2 times)authParams
authenticator
body
(3 times)boundary
cacheControl
(3 times)cacheResponse
cache
(2 times)callTimeoutMillis
certificatePinner
(2 times)certificate
challenge
charset
cipherSuite
(2 times)cipherSuites
client
code
connectTimeoutMillis
connectionPool
connectionSpec
connectionSpecs
(2 times)cookieJar
cookie
directory
dispatcher
dns
(2 times)domain
encodedFragment
encodedPassword
encodedPathSegments
encodedPath
encodedQuery
encodedUsername
eventListenerFactory
expiresAt
followRedirects
followSslRedirects
formBody
fragment
getFromUri
getFromUrl
handshakeCertificates
handshake
(2 times)headers
(6 times)heldCertificate
hostOnly
host
hostnameVerifier
(2 times)http2ErrorCode
httpOnly
httpUrl
immutable
inetSocketAddress
interceptor
interceptors
javaName
(2 times)keyManager
keyPair
level
localCertificates
localPrincipal
maxAgeSeconds
maxStaleSeconds
mediaType
message
method
(2 times)minFreshSeconds
mockResponse
multipartBody
(2 times)mustRevalidate
name
networkInterceptors
networkResponse
noCache
noStore
noTransform
onlyIfCached
parse
(3 times)part
parts
password
pathSegments
pathSize
path
(2 times)peerCertificates
peerPrincipal
persistent
pingIntervalMillis
port
(2 times)priorResponse
protocol
protocols
(2 times)proxyAuthenticator
(2 times)proxySelector
(2 times)proxy
(3 times)pushPromise
queryParameterNames
queryParameter
querySize
query
readTimeoutMillis
realm
receivedResponseAtMillis
recordedRequest
requestCount
request
(2 times)response
(2 times)retryOnConnectionFailure
route
sMaxAgeSeconds
scheme
(2 times)secure
sentRequestAtMillis
size
(3 times)socketFactory
(2 times)socketPolicy
sslSocketFactory
(2 times)status
subtype
supportsTlsExtensions
tlsVersion
(2 times)tlsVersions
trailers
trustManager
type
(2 times)uri
url
(3 times)username
utf8Body
value
writeTimeoutMillis
headers
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
address
(2 times)alternative
authParams
authenticator
(2 times)basic
(2 times)bodyDelay
bodySize
body
(6 times)boundary
builder
(4 times)byteCount
byteStream
bytes
cacheControl
(4 times)cacheResponse
cache
callTimeoutMillis
call
(2 times)callback
certificatePem
certificatePinner
(2 times)certificate
certificates
chain
challenge
challenges
charStream
charset
(2 times)chunkSizes
cipherSuite
(2 times)cipherSuites
client
(2 times)code
compatible
connectTimeoutMillis
connectionCount
connectionPool
connectionSpec
(2 times)connectionSpecs
(2 times)connection
contentLength
(2 times)contentType
(2 times)cookieJar
(2 times)cookie
(2 times)cookies
date
defaultCharset
defaultPort
default
(2 times)digest
directory
dispatcher
(3 times)dns
(2 times)domain
encodedFragment
encodedName
encodedPassword
encodedPathSegments
encodedPath
encodedQuery
encodedUsername
encodedValue
eventListenerFactory
eventListener
(2 times)executorService
expiresAt
factory
followRedirects
followSslRedirects
forceCache
forceNetwork
formBody
form
fragment
getFromUri
getFromUrl
get
(2 times)handshakeCertificates
(2 times)handshake
(3 times)header
(3 times)headersDelay
headersForName
(2 times)headers
(9 times)heldCertificate
(2 times)hitCount
hostName
hostOnly
host
hostnameVerifier
(2 times)http2ErrorCode
httpOnly
httpUrl
(2 times)idleConnectionCount
immutable
inetSocketAddress
instant
interceptors
(2 times)isHttps
(2 times)javaName
(2 times)keyManager
keyPair
level
listOfCertificates
loadForRequest
localCertificates
localPrincipal
loggingEventListener
matches
maxAgeSeconds
maxRequestsPerHost
maxRequests
maxSize
maxStaleSeconds
mediaType
message
method
(3 times)minFreshSeconds
mixed
mockResponse
multimap
multipartBody
mustRevalidate
name
(3 times)names
networkCount
networkInterceptors
(2 times)networkResponse
newBuilder
noCache
noStore
noTransform
none
(2 times)nullableRequest
onlyIfCached
parallel
parse
(3 times)parsedCookie
part
(2 times)parts
password
pathSegments
pathSize
path
(3 times)peekBody
peerCertificates
peerPrincipal
persistent
pin
pingIntervalMillis
port
(2 times)priorResponse
privateKeyPkcs1Pem
privateKeyPkcs8Pem
protocol
(2 times)protocols
(3 times)proxyAuthenticator
(2 times)proxySelector
(2 times)proxy
(2 times)pushPromise
pushPromises
queryParameterName
queryParameterNames
queryParameterValue
queryParameterValues
queryParameter
querySize
query
queuedCallsCount
queuedCalls
readTimeoutMillis
realm
receivedResponseAtMillis
recordedRequest
redact
redirect
requestBody
(3 times)requestCount
(2 times)requestLine
requestUrl
request
(5 times)requiresTunnel
resolveBuilder
resolve
response
(4 times)retryOnConnectionFailure
route
runningCallsCount
runningCalls
sMaxAgeSeconds
scheme
(2 times)secure
sentRequestAtMillis
sequenceNumber
settings
size
(4 times)socketFactory
(2 times)socketPolicy
(2 times)source
sslContext
sslSocketFactory
(3 times)status
stringTag
string
subtype
successful
supportsTlsExtensions
system
tag
throttleBytesPerPeriod
throttlePeriod
tlsVersion
(3 times)tlsVersions
toProxyAddress
topPrivateDomain
trailers
(2 times)trustManager
type
(2 times)uri
url
(4 times)urls
username
utf8Body
utf8
value
(3 times)values
webSocketListener
(2 times)webSocket
(2 times)writeAbortCount
writeSuccessCount
writeTimeoutMillis
challenge
cipherSuite
connectionSpec
(3 times)dispatcher
factory
(2 times)handshake
headers
hostName
mockResponse
part
(5 times)protocol
pushPromises
recordedRequest
requestBody
(10 times)request
settings
status
stringTag
tag
throttleBytesPerPeriod
tlsVersion
webSocketListener
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java