JAL-3691 automatic insertion of Locale.ROOT to toUpperCase() and toLowerCase() and...
[jalview.git] / src / jalview / json / binding / biojson / v1 / ColourSchemeMapper.java
index 786d80e..6b877bf 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -20,6 +20,8 @@
  */
 package jalview.json.binding.biojson.v1;
 
+import java.util.Locale;
+
 import jalview.datamodel.AnnotatedCollectionI;
 import jalview.schemes.Blosum62ColourScheme;
 import jalview.schemes.BuriedColourScheme;
@@ -62,7 +64,7 @@ public class ColourSchemeMapper
   public static ColourSchemeI getJalviewColourScheme(
           String colourSchemeName, AnnotatedCollectionI annotCol)
   {
-    switch (colourSchemeName.toUpperCase())
+    switch (colourSchemeName.toUpperCase(Locale.ROOT))
     {
     case "ZAPPO":
       return csZappo;