Skip to content

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

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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