Skip to content

Minor bug in FirstCharBasedValidator.forFirstNameRule(): returns null in non-default case #5052

@cowtowncoder

Description

@cowtowncoder

Looks like logic in forFirstNameRule() of DefaultAccessorNamingStrategy.FirstCharBasedValidator is wrong: it should return null (for "no need for validator) if both are true (both lower-case and non-letter allowed as the first character) -- but currently checks the reverse (both are false).

Metadata

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