You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/12/10 19:39:04 UTC
git commit: o Removed NPE on odd configuration
Updated Branches:
refs/heads/master 065da9ca6 -> 90edbd4ab
o Removed NPE on odd configuration
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/90edbd4a
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/90edbd4a
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/90edbd4a
Branch: refs/heads/master
Commit: 90edbd4abd3697c92692a2d12f15aaf02e66af40
Parents: 065da9c
Author: Kristian Rosenvold <kr...@apache.org>
Authored: Mon Dec 10 19:38:29 2012 +0100
Committer: Kristian Rosenvold <kr...@apache.org>
Committed: Mon Dec 10 19:38:29 2012 +0100
----------------------------------------------------------------------
.../surefire/report/DefaultReporterFactory.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/90edbd4a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
----------------------------------------------------------------------
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
index 55784ff..52d925e 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
@@ -43,8 +43,6 @@ public class DefaultReporterFactory
private final RunStatistics globalStats = new RunStatistics();
- private final ConsoleReporter multicastingReporter;
-
private final StartupReportConfiguration reportConfiguration;
private final StatisticsReporter statisticsReporter;
@@ -55,7 +53,6 @@ public class DefaultReporterFactory
public DefaultReporterFactory( StartupReportConfiguration reportConfiguration )
{
this.reportConfiguration = reportConfiguration;
- multicastingReporter = reportConfiguration.instantiateConsoleReporter();
this.statisticsReporter = reportConfiguration.instantiateStatisticsReporter();
runStarting();
}
@@ -106,7 +103,7 @@ public class DefaultReporterFactory
logger.info( "" );
if ( globalStats.hadFailures() )
{
- multicastingReporter.writeMessage( "Failed tests: " );
+ logger.info( "Failed tests: " );
for ( Object o : this.globalStats.getFailureSources() )
{
logger.info( " " + o );