-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Address to Kotlin #4787
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks!
Don't forget to submit the Square contributors’ agreement if you haven't already.
c4d1ef1
to
e751fc1
Compare
Uh oh. The fix I’ve been using is to add a helper method to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a compile fix before it can be merged.
} | ||
|
||
override fun toString(): String { | ||
return buildString { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
e751fc1
to
bacfcb2
Compare
* Make equalsNonhost static in InternalKt
bacfcb2
to
b04673e
Compare
Resolves #4765
The build will fail right now since
OkHttpClient
doesn't recognizeinternal
modifier onequalsNonHost
. Will wait for #4748 for that.Also made the properties private as advised in #4782.