[
http://jira.codehaus.org/browse/MTAGLIST-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David J. M. Karlsen closed MTAGLIST-34.
---------------------------------------
Resolution: Fixed
Fixed in rev 8386:
http://fisheye.codehaus.org/changelog/mojo/trunk/mojo/taglist-maven-plugin?cs=8386
> Empty comments missing the --No Comment-- string when ending in colon.
> ----------------------------------------------------------------------
>
> Key: MTAGLIST-34
> URL: http://jira.codehaus.org/browse/MTAGLIST-34
> Project: Maven 2.x Taglist Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Nate Stoddard
> Assignee: David J. M. Karlsen
> Attachments: MTAGLIST-34.patch
>
>
> When emptyComments is enabled (the default setting) the string "--No
> Comment--" should be displayed if a comment tag has no text. If the comment
> tag ends in a colon (e.g. "todo:") then the comment field will be blank.
> This appears to happen because the check for an empty comment tag fails
> because there is one character after the tag; however, when the tag is
> prepared for display, the colon is removed. This means the string is blank
> in the output.
> /**
> * The next line works correctly.
> * @todo
> *
> *
> * The next line does not work
> * TODO:
> *
> */
> The output for "@todo" will be "--No Comment--".
> The output for "TODO" will be "".
> ---
> The unit tests in MTAGLIST-33 show this as a test failure. If the decision
> is made not to change the plugin code, then those unit tests should be
> updated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email