Skip to content

fix: Don't ignore invalid language codes in RowParser.asLanguageCode#1291

Merged
aababilov merged 2 commits intoMobilityData:masterfrom
asvechnikov2:fix-language-code
Nov 10, 2022
Merged

fix: Don't ignore invalid language codes in RowParser.asLanguageCode#1291
aababilov merged 2 commits intoMobilityData:masterfrom
asvechnikov2:fix-language-code

Conversation

@asvechnikov2
Copy link
Copy Markdown
Collaborator

Summary:

Don't ignore invalid language codes in RowParser.asLanguageCode. Locale::forLanguageTag ignores invalid language codes and no notices are created.

Expected behavior:

Invalid language detected

Please make sure these boxes are checked before submitting your pull request - thanks!

Locale::forLanguageTag ignores invalid language codes and no notices
are created.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 10, 2022

CLA assistant check
All committers have signed the CLA.

* Make parseLocale static and fix the doc

* Apply google-java-format
Copy link
Copy Markdown
Collaborator

@aababilov aababilov left a comment

Choose a reason for hiding this comment

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

Nice!

@aababilov aababilov merged commit b28ef34 into MobilityData:master Nov 10, 2022
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