Florian Schmidt (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Validator (
https://hibernate.atlassian.net/browse/HV?atlOrigin=eyJpIjoiZDk4OTM3Y2Q4M...
) / Bug (
https://hibernate.atlassian.net/browse/HV-1926?atlOrigin=eyJpIjoiZDk4OTM3...
) HV-1926 (
https://hibernate.atlassian.net/browse/HV-1926?atlOrigin=eyJpIjoiZDk4OTM3...
) DefaultGetterPropertySelectionStrategy returns wrong property name if second character
is uppercase (
https://hibernate.atlassian.net/browse/HV-1926?atlOrigin=eyJpIjoiZDk4OTM3...
)
Issue Type: Bug Assignee: Unassigned Created: 06/Sep/2022 05:38 AM Priority: Major
Reporter: Florian Schmidt (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
DefaultGetterPropertySelectionStrategy uses StringHelper.decapitalize to change the first
letter of the property name extracted by the getter method to a lowercase letter.
StringHelper.decapitalize changes the first letter to a lowercase letter only if the
second letter is not an uppercase letter.
For example, the getter getFBar results in the property name FBar instead of fBar
(
https://hibernate.atlassian.net/browse/HV-1926#add-comment?atlOrigin=eyJp...
) Add Comment (
https://hibernate.atlassian.net/browse/HV-1926#add-comment?atlOrigin=eyJp...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:40f823c )