maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r514374 - /maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java
Date Sun, 04 Mar 2007 08:48:42 GMT
Author: brett
Date: Sun Mar  4 00:48:42 2007
New Revision: 514374

URL: http://svn.apache.org/viewvc?view=rev&rev=514374
Log:
remove unnecessary catch

Modified:
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java?view=diff&rev=514374&r1=514373&r2=514374
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/util/TeeStream.java
Sun Mar  4 00:48:42 2007
@@ -39,15 +39,9 @@
 
     public void write( byte[] buf, int off, int len )
     {
-        try
-        {
-            super.write( buf, off, len );
+        super.write( buf, off, len );
 
-            tee.write( buf, off, len );
-        }
-        catch ( Exception e )
-        {
-        }
+        tee.write( buf, off, len );
     }
 
     public void close()



Mime
View raw message