JAL-3691 patch toUpper/toLower to use Locale.ROOT for 2.11.2 src
[jalview.git] / src / mc_view / PDBChain.java
index 425bc18..97514e9 100755 (executable)
@@ -35,6 +35,7 @@ import jalview.util.Comparison;
 
 import java.awt.Color;
 import java.util.List;
+import java.util.Locale;
 import java.util.Vector;
 
 public class PDBChain
@@ -83,7 +84,7 @@ public class PDBChain
 
   public PDBChain(String thePdbid, String theId, String tempFactorColumnName)
   {
-    this.pdbid = thePdbid == null ? thePdbid : thePdbid.toLowerCase();
+    this.pdbid = thePdbid == null ? thePdbid : thePdbid.toLowerCase(Locale.ROOT);
     this.id = theId;
     if (tempFactorColumnName!=null && tempFactorColumnName.length()>0)
     {