Skip to content

Conversation

@Simulant87
Copy link
Contributor

fixes #1023

@sonarqubecloud
Copy link

@stleary stleary changed the title save and restore the current default locale, to avoid any side effects Save/restore default locale in test Dec 25, 2025
@stleary
Copy link
Owner

stleary commented Dec 25, 2025

What problem does this code solve?
Changing the default locale could affect other workflows. Save and restore the default for other maven tests.

Does the code still compile with Java6?
Yes

Risks
Low

Changes to the API?
No

Will this require a new release?
No

Should the documentation be updated?
No

Does it break the unit tests?
No, it fixes a test that leaks a locale change

Was any code refactored in this commit?
No

Review status

APPROVED

Starting 3-day comment window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test does not restore default locale

2 participants