@NotEmpty and @NotBlank definition is not consistent with other constraints

Description

@NotEmpty and @NotBlank constraints are composed with @NotNull. This doesn't adhere to the apparent convention followed by the remaining standard constraints.

In practical terms, this forces possibly unwanted mandatory for annotated elements. At the very least there should be an out-of-the-box version of these constraints that is not composed with @NotNull.

Quotes from the current source code:

Environment

HV 4.3.2

Status

Assignee

Unassigned

Reporter

Tiago Marques

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Minor
Configure