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-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
src
/
jalview
/
schemes
/
ColourSchemeLoader.java
diff --git
a/src/jalview/schemes/ColourSchemeLoader.java
b/src/jalview/schemes/ColourSchemeLoader.java
index
141ef10
..
061ccd4
100644
(file)
--- a/
src/jalview/schemes/ColourSchemeLoader.java
+++ b/
src/jalview/schemes/ColourSchemeLoader.java
@@
-20,6
+20,8
@@
*/
package jalview.schemes;
*/
package jalview.schemes;
+import java.util.Locale;
+
import jalview.xml.binding.jalview.JalviewUserColours;
import java.awt.Color;
import jalview.xml.binding.jalview.JalviewUserColours;
import java.awt.Color;
@@
-92,7
+94,7
@@
public class ColourSchemeLoader
Color color = new Color(
Integer.parseInt(jucs.getColour().get(i).getRGB(), 16));
Color color = new Color(
Integer.parseInt(jucs.getColour().get(i).getRGB(), 16));
- if (name.toLowerCase().equals(name))
+ if (name.toLowerCase(Locale.ROOT).equals(name))
{
caseSensitive = true;
lowerCase[index] = color;
{
caseSensitive = true;
lowerCase[index] = color;