Skip to content
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

Add Location.toLatLon util function #3274

Merged
merged 8 commits into from
Sep 9, 2021

Conversation

smichel17
Copy link
Member

@smichel17 smichel17 commented Sep 9, 2021

As discussed in #3166 (comment)

As I usually try for, going through this commit-by-commit may give you the most useful diffs, especially since the first 3 here are boilerplate.

Doesn't build, but makes sure git can track the file history; if we
convert the file to kotlin all at once, it will think we deleted the old
file and added a new one.
Done with the automatic converter, and then reformatted to match the
previous style as closely as possible.
Instead of nesting inside an object

Can't say I'm a huge fan of how many imports this generates, but I guess
it is what it is.
Copy link
Member

@westnordost westnordost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, looks good!

@westnordost westnordost merged commit d016822 into streetcomplete:master Sep 9, 2021
@westnordost
Copy link
Member

thanks!

@smichel17
Copy link
Member Author

Inching closer to 100% kotlin :)

Kotlin: 99.3%. Java: 0.7%

@smichel17 smichel17 deleted the Location-toLatLon branch September 9, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants