[hibernate-issues] [Hibernate-JIRA] Updated: (HV-42) Reference Documentation: broken example

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Sep 19 15:58:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HV-42:
-------------------------------

    Fix Version/s: 3.0.1

> Reference Documentation: broken example
> ---------------------------------------
>
>                 Key: HV-42
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-42
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Robert Spielmann
>            Priority: Trivial
>             Fix For: 3.0.1
>
>
> 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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list