]
Hardy Ferentschik updated HV-42:
--------------------------------
Component/s: (was: documentation)
legacy
Move issue into legact component. This issue relates to the pre 4.x codebase.
Reference Documentation: broken example
---------------------------------------
Key: HV-42
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-42
Project: Hibernate Validator
Issue Type: Bug
Components: legacy
Reporter: Robert Spielmann
Priority: Trivial
The Hibernate Validator Reference Guide (Hibernate Validator 3.0.0.GA) contains examples
for writing custom annotations and validators, section 1.4 "writing your own
constraints". There, it says that the class CapitalizedValidator implements
Validator<Capitalized> and PropertyConstraint. The example class, however, does not
implement the "apply" method. Thus, the example class does not compile.
Additionally, the class "Capitalize" (containing constants like FIRST) is not
defined anywhere. This leaves the example incomplete and thus - unless you quickly
implement this class - unsuable for practical experiments.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: