[ 
http://jira.codehaus.org/browse/MCHANGES-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250532#action_250532
 ] 

Anders Hammar commented on MCHANGES-219:
----------------------------------------

The method that needs to be updated is 
ChangesReportGenerator.constructReleases(). I believe that 
release.getDateRelease() returns null which is converted to the "null" text 
string.
An simple fix would be to check if it returns null.

> Not specifying a date for a release causes "null" to be displayed in changes 
> report
> -----------------------------------------------------------------------------------
>
>                 Key: MCHANGES-219
>                 URL: http://jira.codehaus.org/browse/MCHANGES-219
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: changes.xml
>    Affects Versions: 2.3
>         Environment: Windows XP
> Sun JDK 1.6.0_18
>            Reporter: Anders Hammar
>
> If the date is not specified for a release, "null" is displayed in the header 
> of that release. For example, the header text for release 1.0.0 is "Release 
> 1.0.0 - null".
> Note that the date is correctly left empty in the release table.
> My suggestion is that if no date is specified, the header text should just be 
> "Release x.x.x". No dash and obviously no "null" text. :-)

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

        

Reply via email to