hapi-fhir
hapi-fhir copied to clipboard
Fixing locale
This pull request updates the TimeoutManagerTest to improve locale-awareness in its logging tests. The most important changes include importing locale-related classes and modifying the test logic to dynamically handle the decimal separator based on the system's default locale.
Locale-awareness improvements:
hapi-fhir-base/src/test/java/ca/uhn/fhir/util/TimeoutManagerTest.java: Added imports forDecimalFormatSymbolsandLocaleto support locale-specific formatting.checkTimeout_warningThreadholdHit_warningLogged: Updated the test to dynamically determine the decimal separator usingDecimalFormatSymbolsand the system's default locale. This ensures the test output is consistent with locale-specific formatting.
[spotless]: Formatting check succeeded!
@fil512 based on git history I'd say one is in your direction :)
[spotless]: Formatting check succeeded!
Formatting check succeeded!