Tibor17 commented on a change in pull request #226: Extended SimpleReportEntry 
with sourceText and nameText
URL: https://github.com/apache/maven-surefire/pull/226#discussion_r286157486
 
 

 ##########
 File path: 
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/StartupReportConfiguration.java
 ##########
 @@ -107,8 +119,11 @@ public StartupReportConfiguration( boolean useFile, 
boolean printSummary, String
         this.rerunFailingTestsCount = rerunFailingTestsCount;
         this.xsdSchemaLocation = xsdSchemaLocation;
         String charset = trimToNull( encoding );
-        this.encoding = charset == null ? Charset.defaultCharset() : 
Charset.forName( charset );
+        this.encoding = charset == null ? UTF_8 : Charset.forName( charset );
 
 Review comment:
   We can separate this change line to a new commit for SUREFIRE-1222. WDYT?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to