[ 
https://issues.apache.org/jira/browse/SCM-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964332#comment-17964332
 ] 

Olivier Lamy commented on SCM-171:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#399|https://github.com/apache/maven-scm/issues/399]. 

> Incorrect xml changeLog generated if no endDate (toXML method in ChangeLogSet)
> ------------------------------------------------------------------------------
>
>                 Key: SCM-171
>                 URL: https://issues.apache.org/jira/browse/SCM-171
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-api
>         Environment: all
>            Reporter: Olivier Lamy
>            Assignee: Emmanuel Venisse
>            Priority: Major
>             Fix For: 1.0-beta-3
>
>
> The method toXML in 
> http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogSet.java?rev=374372&view=markup
> generate a bad xml if the end date is not specified.
> The lines :
>         if ( endDate != null )
>         {
>             buffer.append( " end=\"" )
>                 .append( formatter.format( endDate ) )
>                 .append( "\">" );
>         }
>         buffer.append( "\n" );
> should be :
>         if ( endDate != null )
>         {
>             buffer.append( " end=\"" )
>                 .append( formatter.format( endDate ) )
>                 .append( "\"" );
>         }
>         buffer.append( ">\n" );



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to