Skip to content

JSON config > + agency_id_cleanup_regex#63

Merged
mmathieum merged 4 commits intomasterfrom
mm/agency_id_etc
Apr 27, 2026
Merged

JSON config > + agency_id_cleanup_regex#63
mmathieum merged 4 commits intomasterfrom
mm/agency_id_etc

Conversation

@mmathieum
Copy link
Copy Markdown
Member

No description provided.

@mmathieum mmathieum self-assigned this Apr 27, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for cleaning agency IDs via regex, updating the configuration, interface, and data export logic accordingly. It also refactors headsign merging by changing the separator from " / " to "/" and modifies the visibility of internal ID conversion methods. Feedback identifies a regression in GenerateMObjectsTask where headsign cleaning was removed during refactoring, as well as a typo and thread-safety issue in the lazy initialization of the agency ID cleanup pattern in DefaultAgencyTools.

Comment thread src/main/java/org/mtransit/parser/mt/GenerateMObjectsTask.java
Comment thread src/main/java/org/mtransit/parser/DefaultAgencyTools.java Outdated
@mmathieum mmathieum merged commit 6182906 into master Apr 27, 2026
4 checks passed
@mmathieum mmathieum deleted the mm/agency_id_etc branch April 27, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet