79758760

Date: 2025-09-08 10:31:47
Score: 2.5
Natty:
Report link

You can use @Size as bean validation annotation so validate the size of a collection, map, array or charSequence.

see the documentation at https://jakarta.ee/specifications/bean-validation/3.0/apidocs/jakarta/validation/constraints/size

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Size
  • Low reputation (0.5):
Posted by: matthias