maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [maven-surefire] branch INV1561 updated: logging in non-forking mode
Date Sun, 26 Aug 2018 11:58:10 GMT
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch INV1561
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/INV1561 by this push:
     new 00c87b4  logging in non-forking mode
00c87b4 is described below

commit 00c87b4cd657d6c5264b6ed12db4396766095224
Author: Tibor17 <tibordigana@apache.org>
AuthorDate: Sun Aug 26 13:57:56 2018 +0200

    logging in non-forking mode
---
 .../org/apache/maven/plugin/surefire/report/TestSetRunListener.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
index d97c8fd..00fe06f 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
@@ -163,7 +163,7 @@ public class TestSetRunListener
             //noinspection ResultOfMethodCallIgnored
             console.createNewFile();
             StringWriter sw = new StringWriter();
-            new Throwable("").printStackTrace(new PrintWriter(sw));
+            new Throwable( "" ).printStackTrace( new PrintWriter( sw ) );
             String stackTrace = sw.toString();
             String[] msg = { new String( buf, off, len ) + "\n" + stackTrace };
             FileUtils.fileWriteArray( console, "UTF-8", msg );


Mime
View raw message