Skip to content

Utils.capitalize(str) throws exception when str equals "" #513

Open
@dfreismuth

Description

happens for setters that are just called 'set', because ClassUtils.getFieldNameFromSetter(..) will then return "".
To fix, add check for empty string to Utils.capitalize(..)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions