hibernate/hibernate-validator — pull request #304 by hferentschik (2014-02-10 13:42:33+00:00)
Title: HV-799

Went for the enum approach after all now. Given that the default Luhn algorithm operates right to left it is really just a @Mod10Check.
Having enums makes it also a bit more extension friendly in case someone will ask to add EAN-2 and EAN-5 extensions.