Fix argument confusion in format (#1746)

* Fix argument confusion in format

* Bump test cases
This commit is contained in:
dotasek 2024-09-18 10:15:38 -04:00 committed by GitHub
parent f3bd5b9be8
commit 9a7a843a20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public abstract class I18nBase {
if (Objects.nonNull(theMessageArguments) && theMessageArguments.length > 0) {
message = MessageFormat.format(messages.getString(theMessage).trim(), theMessageArguments);
} else {
message = MessageFormat.format(messages.getString(theMessage).trim(), null);
message = MessageFormat.format(messages.getString(theMessage).trim(), (Object) null);
}
}
return message;

View File

@ -21,7 +21,7 @@
<commons_compress_version>1.26.0</commons_compress_version>
<guava_version>32.0.1-jre</guava_version>
<hapi_fhir_version>6.4.1</hapi_fhir_version>
<validator_test_case_version>1.5.22</validator_test_case_version>
<validator_test_case_version>1.5.23-SNAPSHOT</validator_test_case_version>
<jackson_version>2.17.0</jackson_version>
<junit_jupiter_version>5.9.2</junit_jupiter_version>
<junit_platform_launcher_version>1.8.2</junit_platform_launcher_version>