hms2186 commented on code in PR #5595:
URL: https://github.com/apache/fineract/pull/5595#discussion_r3002296451
##########
fineract-validation/src/main/java/org/apache/fineract/validation/constraints/EnumValueValidator.java:
##########
@@ -30,12 +30,12 @@ public class EnumValueValidator implements
ConstraintValidator<EnumValue, String
@Override
public void initialize(EnumValue annotation) {
- acceptedValues =
Arrays.stream(annotation.enumClass().getEnumConstants()).map(e ->
e.name().toLowerCase())
+ acceptedValues =
Arrays.stream(annotation.enumClass().getEnumConstants()).map(e ->
e.name().toLowerCase(java.util.Locale.ROOT))
Review Comment:
Extended the fix to cover all affected classes — Calendar, CalendarUtils,
AppUser, and SmsCampaign now use Locale.ROOT. Thanks for the suggestion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]