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

CLDR-15830 Refactor/simplify NameType #4287

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

btangmu
Copy link
Member

@btangmu btangmu commented Jan 17, 2025

-Remove getNameName, getNameTypeName, String[][] NameTable, INDEX_LANGUAGE, ..., nameTableIndex, fromNameTableIndex

-Associate the enum values with the corresponding path fragments by means of constructors

-Move FIX_KEY_NAME, fixKeyName from CLDRFile to NameType

-New method StandardCodes.CodeType.fromNameType converts NameType to CodeType and obviates conversion to/from String as intermediate step

-Comments

CLDR-15830

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

-Remove getNameName, getNameTypeName, String[][] NameTable, INDEX_LANGUAGE, ..., nameTableIndex, fromNameTableIndex

-Associate the enum values with the corresponding path fragments by means of constructors

-Move FIX_KEY_NAME, fixKeyName from CLDRFile to NameType

-New method StandardCodes.CodeType.fromNameType converts NameType to CodeType and obviates conversion to/from String as intermediate step

-Comments
@btangmu btangmu self-assigned this Jan 17, 2025
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.

1 participant