git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3691 automatic insertion of Locale.ROOT to toUpperCase() and toLowerCase() and...
[jalview.git]
/
src
/
jalview
/
util
/
ColorUtils.java
diff --git
a/src/jalview/util/ColorUtils.java
b/src/jalview/util/ColorUtils.java
index
60129fb
..
5db333f
100644
(file)
--- a/
src/jalview/util/ColorUtils.java
+++ b/
src/jalview/util/ColorUtils.java
@@
-24,6
+24,8
@@
package jalview.util;
package jalview.util;
+import java.util.Locale;
+
import java.awt.Color;
import java.util.HashMap;
import java.util.Map;
import java.awt.Color;
import java.util.HashMap;
import java.util.Map;
@@
-324,7
+326,7
@@
public class ColorUtils
return null;
}
Color col = null;
return null;
}
Color col = null;
- name = name.toLowerCase();
+ name = name.toLowerCase(Locale.ROOT);
// or make a static map; or use reflection on the field name
switch (name)
// or make a static map; or use reflection on the field name
switch (name)