maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject git commit: o Removed NPE on odd configuration
Date Mon, 10 Dec 2012 18:39:04 GMT
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 <krosenvold@apache.org>
Authored: Mon Dec 10 19:38:29 2012 +0100
Committer: Kristian Rosenvold <krosenvold@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 );


Mime
View raw message