maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [3/4] maven-surefire git commit: [SUREFIRE] refactoring
Date Mon, 28 Sep 2015 00:07:06 GMT
[SUREFIRE] refactoring


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/ce880f15
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/ce880f15
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/ce880f15

Branch: refs/heads/master
Commit: ce880f15b53cfd43ebbe371d549666680b1dcdd1
Parents: 3251876
Author: Tibor17 <tibor17@lycos.com>
Authored: Mon Sep 28 00:30:48 2015 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Mon Sep 28 00:30:48 2015 +0200

----------------------------------------------------------------------
 .../maven/plugin/surefire/report/StatelessXmlReporterTest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/ce880f15/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java
----------------------------------------------------------------------
diff --git a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java
b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java
index bcb5d57..e6e3d1a 100644
--- a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java
+++ b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java
@@ -33,7 +33,6 @@ import java.io.File;
 import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStreamReader;
-import java.util.Collections;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
@@ -139,7 +138,7 @@ public class StatelessXmlReporterTest
 
         stats.testSucceeded( t2 );
         StatelessXmlReporter reporter = new StatelessXmlReporter( reportDir, null, false,
0,
-                        Collections.synchronizedMap( new HashMap<String, Map<String,
List<WrappedReportEntry>>>() ) );
+                        new ConcurrentHashMap<String, Map<String, List<WrappedReportEntry>>>()
);
         reporter.testSetCompleted( testSetReportEntry, stats );
 
         FileInputStream fileInputStream = new FileInputStream( expectedReportFile );


Mime
View raw message