maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject svn commit: r1777786 - /maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
Date Sat, 07 Jan 2017 13:32:54 GMT
Author: michaelo
Date: Sat Jan  7 13:32:54 2017
New Revision: 1777786

URL: http://svn.apache.org/viewvc?rev=1777786&view=rev
Log:
Avoid locale-sensitive toLowerCase()

Modified:
    maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java

Modified: maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java?rev=1777786&r1=1777785&r2=1777786&view=diff
==============================================================================
--- maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
(original)
+++ maven/shared/trunk/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java
Sat Jan  7 13:32:54 2017
@@ -30,6 +30,7 @@ import java.util.ArrayList;
 import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Locale;
 import java.util.Map;
 import java.util.Properties;
 
@@ -623,7 +624,7 @@ public abstract class AbstractMavenRepor
         {
             return "mailto:" + href;
         }
-        else if ( href.toLowerCase().startsWith( "mailto:" ) )
+        else if ( href.toLowerCase( Locale.ROOT ).startsWith( "mailto:" ) )
         {
             return href;
         }



Mime
View raw message