maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r708758 - /maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java
Date Wed, 29 Oct 2008 03:11:58 GMT
Author: brett
Date: Tue Oct 28 20:11:58 2008
New Revision: 708758

URL: http://svn.apache.org/viewvc?rev=708758&view=rev
Log:
don't print unnecessary stack traces
Merged from: r679271

Modified:
    maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java

Modified: maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java?rev=708758&r1=708757&r2=708758&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java
(original)
+++ maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java
Tue Oct 28 20:11:58 2008
@@ -75,8 +75,7 @@
 
     public void transferError( TransferEvent transferEvent )
     {
-        // TODO: can't use getLogger() because this isn't currently instantiated as a component
-        transferEvent.getException().printStackTrace();
+        // these errors should already be handled elsewhere by Maven since they all result
in an exception from Wagon
     }
 
     /**



Mime
View raw message