JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / analysis / Conservation.java
index ff38c08..cbc4dca 100755 (executable)
@@ -20,6 +20,8 @@
  */
 package jalview.analysis;
 
+import java.util.Locale;
+
 import jalview.analysis.scoremodels.ScoreMatrix;
 import jalview.analysis.scoremodels.ScoreModels;
 import jalview.datamodel.AlignmentAnnotation;
@@ -312,7 +314,7 @@ public class Conservation
   protected static void recordConservation(Map<String, Integer> resultMap,
           String res)
   {
-    res = res.toUpperCase();
+    res = res.toUpperCase(Locale.ROOT);
     for (Entry<String, Map<String, Integer>> property : ResidueProperties.propHash
             .entrySet())
     {
@@ -812,8 +814,8 @@ public class Conservation
         float vprop = value - qmin;
         vprop /= qmax;
         String description = FORMAT_3DP.form(value);
-        quality2.annotations[i] = new Annotation(" ", description,
-                ' ', value, new Color(minR + (maxR * vprop),
+        quality2.annotations[i] = new Annotation(" ", description, ' ',
+                value, new Color(minR + (maxR * vprop),
                         minG + (maxG * vprop), minB + (maxB * vprop)));
       }
     }