Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: list android locales #1894

Merged
merged 2 commits into from
May 5, 2021
Merged

refactor: list android locales #1894

merged 2 commits into from
May 5, 2021

Conversation

Sloox
Copy link
Contributor

@Sloox Sloox commented May 4, 2021

Fixes #1854

Test Plan

How do we know the code works?
Unit tests pass & refactored inline with #1854

Checklist

  • Unit tested

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Sloox Sloox changed the title refactor Android Locales refactor: list android locales May 4, 2021
@Flank Flank deleted a comment from mergify bot May 4, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2021

Timestamp: 2021-05-04 16:06:53
Buildscan url for ubuntu-workflow run 810625882
https://gradle.com/s/akgttfm6v7si6

@bootstraponline bootstraponline force-pushed the #1854-list-android-locales branch from d26353b to 4cd27c8 Compare May 4, 2021 13:25
@bootstraponline bootstraponline force-pushed the #1854-list-android-locales branch from 4cd27c8 to 701f3fe Compare May 4, 2021 16:01
override val out = outputLogger {
@Suppress("UNCHECKED_CAST")
when (this) {
is List<*> -> (this as List<Locale>).toCliTable()
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO toCliTable should be moved to presentation layer

Copy link
Contributor

@pawelpasterz pawelpasterz May 4, 2021

Choose a reason for hiding this comment

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

Isn't it already there?

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, nvm :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@piotradamczyk5 it will be auto moved when another ticket is merged

@piotradamczyk5 piotradamczyk5 self-requested a review May 5, 2021 08:46
@mergify mergify bot merged commit 944fa26 into master May 5, 2021
@mergify mergify bot deleted the #1854-list-android-locales branch May 5, 2021 10:40
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structural output - ListAndroidLocales
3 participants