[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1020) Incorrect JavaDoc generation for getXXX() accessors

Fol De Rol (JIRA) noreply at atlassian.com
Tue Dec 4 08:51:56 EST 2007


Incorrect JavaDoc generation for getXXX() accessors
---------------------------------------------------

                 Key: HBX-1020
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1020
             Project: Hibernate Tools
          Issue Type: Bug
          Components: hbm2java
    Affects Versions: 3.2beta9
            Reporter: Fol De Rol


hbm2java generates redundant asterisk in JavaDoc for getters that cause it to be treated as part of the documentation. JavaDoc for fields is correct.

The fix is very simple. Remove '*' before ${pojo....} in pojo/PojoPropertyAccessors.ftl

<#if pojo.hasFieldJavaDoc(property)>        
    /**
    * ${pojo.getFieldJavaDoc(property, 4)}
     */
</#if>


-- 
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