maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r538854 - /maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java
Date Thu, 17 May 2007 09:52:12 GMT
Author: evenisse
Date: Thu May 17 02:52:11 2007
New Revision: 538854

URL: http://svn.apache.org/viewvc?view=rev&rev=538854
Log:
[SCM-311] Fix userDateFormat parameter

Modified:
    maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java

Modified: maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java?view=diff&rev=538854&r1=538853&r2=538854
==============================================================================
--- maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java
(original)
+++ maven/scm/trunk/maven-scm-plugin/src/main/java/org/apache/maven/scm/plugin/ChangeLogMojo.java
Thu May 17 02:52:11 2007
@@ -21,8 +21,8 @@
 
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.scm.ChangeSet;
-import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmBranch;
+import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.command.changelog.ChangeLogScmResult;
 import org.apache.maven.scm.command.changelog.ChangeLogSet;
 import org.apache.maven.scm.provider.ScmProvider;
@@ -71,7 +71,7 @@
     /**
      * Date format to use for the specified startDate and/or endDate.
      *
-     * @parameter expression="${dateFormat}" default-value="yyyy-MM-dd"
+     * @parameter expression="${userDateFormat}" default-value="yyyy-MM-dd"
      */
     private String userDateFormat = DEFAULT_DATE_FORMAT;
 
@@ -104,7 +104,8 @@
 
             ChangeLogScmResult result = provider.changeLog( repository, getFileSet(),
                                                             this.parseDate( localFormat,
this.startDate ),
-                                                            this.parseDate( localFormat,
this.endDate ), 0, (ScmBranch)getScmVersion( scmVersionType, scmVersion),
+                                                            this.parseDate( localFormat,
this.endDate ), 0,
+                                                            (ScmBranch) getScmVersion( scmVersionType,
scmVersion ),
                                                             dateFormat );
             checkResult( result );
 



Mime
View raw message