Skip to content

Commit

Permalink
Make equalsNonHost internal after test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaishavGandhi committed Mar 24, 2019
1 parent 939fbc2 commit c4d1ef1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask, dependsOn: 'jar') {
'okhttp3.Address#certificatePinner()',
'okhttp3.Address#connectionSpecs()',
'okhttp3.Address#dns()',
'okhttp3.Address#equalsNonHost()', // Remove this
'okhttp3.Address#hostnameVerifier()',
'okhttp3.Address#protocols()',
'okhttp3.Address#proxy()',
Expand Down
2 changes: 1 addition & 1 deletion okhttp/src/main/java/okhttp3/Address.kt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Address(
return result
}

fun equalsNonHost(that: Address): Boolean {
internal fun equalsNonHost(that: Address): Boolean {
return (this.dns == that.dns
&& this.proxyAuthenticator == that.proxyAuthenticator
&& this.protocols == that.protocols
Expand Down

0 comments on commit c4d1ef1

Please sign in to comment.