Skip to content

Remove Region.IN enum value#1837

Merged
gcatanese merged 2 commits intomainfrom
copilot/remove-region-in-code
Mar 31, 2026
Merged

Remove Region.IN enum value#1837
gcatanese merged 2 commits intomainfrom
copilot/remove-region-in-code

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

PR to remove unused region.

Region.IN (India) existed in the Region enum but was absent from TERMINAL_API_ENDPOINTS_MAPPING, making it unusable in LIVE environments — any attempt to use it threw an IllegalArgumentException.

Changes

  • Region.java — Remove the IN enum value
  • RegionTest.java — Drop "in" from the expected regions assertion
  • ClientTest.java — Remove testUnmappedIndiaRegionThrowsException, which tested behavior that no longer exists

Copilot AI linked an issue Mar 31, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Remove Region.IN from the code base Remove Region.IN enum value Mar 31, 2026
Copilot AI requested a review from gcatanese March 31, 2026 08:58
@gcatanese gcatanese marked this pull request as ready for review March 31, 2026 09:06
@gcatanese gcatanese requested review from a team as code owners March 31, 2026 09:06
@gcatanese gcatanese added this pull request to the merge queue Mar 31, 2026
Merged via the queue into main with commit 81e9e96 Mar 31, 2026
5 checks passed
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.

Region.IN to be removed in a different PR

3 participants