Skip to content

Move duplicated code into its own function. #2172

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

Merged

Conversation

drodriguez
Copy link
Contributor

To allow easier adoption of the Android code, this duplicated piece of
code is moved into its own function, since it will need to change
significantly for Android.

As requested in #2168.

@drodriguez drodriguez requested a review from compnerd April 24, 2019 17:20
To allow easier adoption of the Android code, this duplicated piece of
code is moved into its own function, since it will need to change
significantly for Android.
@drodriguez drodriguez force-pushed the extract-time-zone-data-create branch from 29d396b to ab183ec Compare April 24, 2019 19:01
@drodriguez
Copy link
Contributor Author

Found two more instances of the same code.

@compnerd
Copy link
Member

@swift-ci please test

@compnerd
Copy link
Member

@swift-ci please test Linux platform

@drodriguez drodriguez merged commit f10462b into swiftlang:master Apr 25, 2019
@drodriguez drodriguez deleted the extract-time-zone-data-create branch April 25, 2019 16:54
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.

3 participants