continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r330086 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Date Tue, 01 Nov 2005 16:21:07 GMT
Author: evenisse
Date: Tue Nov  1 08:21:03 2005
New Revision: 330086

URL: http://svn.apache.org/viewcvs?rev=330086&view=rev
Log:
show nb files updated only when result is success

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?rev=330086&r1=330085&r2=330086&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Tue Nov  1 08:21:03 2005
@@ -128,9 +128,11 @@
 
                 getLogger().warn( "Provider message: " + result.getProviderMessage() );
             }
-
-            ChangeSet changeSet = (ChangeSet) result.getChanges().get( 0 );
-            getLogger().info( "Checked out " + changeSet.getFiles().size() + " files." );
+            else
+            {
+                ChangeSet changeSet = (ChangeSet) result.getChanges().get( 0 );
+                getLogger().info( "Checked out " + changeSet.getFiles().size() + " files."
);
+            }
 
             return result;
         }



Mime
View raw message