maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r398526 - in /maven/surefire/branches/surefire-testng: pom.xml surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
Date Mon, 01 May 2006 05:29:12 GMT
Author: brett
Date: Sun Apr 30 22:29:11 2006
New Revision: 398526

URL: http://svn.apache.org/viewcvs?rev=398526&view=rev
Log:
[MSUREFIRE-72] fix number format exception in report in non-English locales
Submitted by: Vincent Siveton

Modified:
    maven/surefire/branches/surefire-testng/pom.xml
    maven/surefire/branches/surefire-testng/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java

Modified: maven/surefire/branches/surefire-testng/pom.xml
URL: http://svn.apache.org/viewcvs/maven/surefire/branches/surefire-testng/pom.xml?rev=398526&r1=398525&r2=398526&view=diff
==============================================================================
--- maven/surefire/branches/surefire-testng/pom.xml (original)
+++ maven/surefire/branches/surefire-testng/pom.xml Sun Apr 30 22:29:11 2006
@@ -45,6 +45,14 @@
     <contributor>
       <name>Jesse Kuhnert</name>
     </contributor>
+    <contributor>
+      <name>Vincent Siveton</name>
+      <email>vincent.siveton@gmail.com</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>Java Developer</role>
+      </roles>
+    </contributor>
   </contributors>
   <scm>
     <connection>scm:svn:https://svn.apache.org/repos/asf/maven/surefire/trunk/</connection>

Modified: maven/surefire/branches/surefire-testng/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
URL: http://svn.apache.org/viewcvs/maven/surefire/branches/surefire-testng/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java?rev=398526&r1=398525&r2=398526&view=diff
==============================================================================
--- maven/surefire/branches/surefire-testng/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
(original)
+++ maven/surefire/branches/surefire-testng/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
Sun Apr 30 22:29:11 2006
@@ -19,6 +19,7 @@
 import java.io.PrintWriter;
 import java.io.StringWriter;
 import java.text.NumberFormat;
+import java.util.Locale;
 
 /**
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
@@ -37,7 +38,7 @@
 
     protected long endTime;
 
-    private NumberFormat numberFormat = NumberFormat.getInstance();
+    private NumberFormat numberFormat = NumberFormat.getInstance( Locale.ENGLISH );
 
     protected static final String NL = System.getProperty( "line.separator" );
 



Mime
View raw message