maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r380692 - /maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Date Fri, 24 Feb 2006 15:34:56 GMT
Author: evenisse
Date: Fri Feb 24 07:34:55 2006
New Revision: 380692

URL: http://svn.apache.org/viewcvs?rev=380692&view=rev
Log:
Add new contructor

Modified:
    maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java

Modified: maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java?rev=380692&r1=380691&r2=380692&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java (original)
+++ maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java Fri Feb
24 07:34:55 2006
@@ -95,9 +95,16 @@
 
     private List files;
 
-    public ChangeSet( String date, String userDatePattern, String comment, String author,
List files )
+    public ChangeSet( String strDate, String userDatePattern, String comment, String author,
List files )
     {
-        setDate( date, userDatePattern );
+        this( null, comment, author, files );
+
+        setDate( strDate, userDatePattern );
+    }
+
+    public ChangeSet( Date date, String comment, String author, List files )
+    {
+        setDate( date );
 
         setAuthor( author );
 
@@ -227,8 +234,6 @@
         {
             this.date = new Date( date.getTime() );
         }
-
-        date = null;
     }
 
     /**



Mime
View raw message