Skip to content

CLDR-18697 New PathStarrer.getWithPattern; make STAR_PATTERN private #4877

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

btangmu
Copy link
Member

@btangmu btangmu commented Jul 16, 2025

-New getWithPattern gets default starred path, then replaces STAR_PATTERN with given pattern

-Use getWithPattern in GenerateEnglishChanged and ShowStarredCoverage

-Assume STAR_PATTERN would never occur (literally, not as regex) in an unstarred path

-Make STAR_PATTERN private for encapsulation, leaving open options for refactoring

-Fix compiler warnings in GenerateEnglishChanged, mostly automatic refactoring

-Comments

CLDR-18697

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

-New getWithPattern gets default starred path, then replaces STAR_PATTERN with given pattern

-Use getWithPattern in GenerateEnglishChanged and ShowStarredCoverage

-Assume STAR_PATTERN would never occur (literally, not as regex) in an unstarred path

-Make STAR_PATTERN private for encapsulation, leaving open options for refactoring

-Fix compiler warnings in GenerateEnglishChanged, mostly automatic refactoring

-Comments
@btangmu btangmu self-assigned this Jul 16, 2025
@btangmu btangmu requested review from macchiati and srl295 July 16, 2025 17:04
@btangmu
Copy link
Member Author

btangmu commented Jul 16, 2025

I confirmed that GenerateEnglishChanged produces same output as before

@btangmu
Copy link
Member Author

btangmu commented Jul 16, 2025

The next steps would be to replace remaining starrer.set() with PathStarrer.get() or PathStarrer.getWithPattern(), and to get the attributes, where needed, from XPathParts instead of PathStarrer.

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