There is a pull request for this here - https://github.com/hibernate/hibernate-validator/pull/446. The messages for these two constrains are mixed up.