X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Frbvi%2Fchimera%2FChimeraCommands.java;h=bfad8fb7e1dee597505a432f184cceff622d6646;hb=0b6e9403e96ee9f0d41211b2f90130ff850c4e98;hp=ced22faa58f7b20b7822ef3725a726bba9605270;hpb=2b784d9b38fd1876dbe0102fa77e2f8984e3b3c2;p=jalview.git diff --git a/src/jalview/ext/rbvi/chimera/ChimeraCommands.java b/src/jalview/ext/rbvi/chimera/ChimeraCommands.java index ced22fa..bfad8fb 100644 --- a/src/jalview/ext/rbvi/chimera/ChimeraCommands.java +++ b/src/jalview/ext/rbvi/chimera/ChimeraCommands.java @@ -20,6 +20,8 @@ */ package jalview.ext.rbvi.chimera; +import java.util.Locale; + import java.awt.Color; import java.util.ArrayList; import java.util.Arrays; @@ -181,7 +183,7 @@ public class ChimeraCommands extends StructureCommandsBase * Chimera treats an attribute name ending in 'color' as colour-valued; * Jalview doesn't, so prevent this by appending an underscore */ - if (attName.toUpperCase().endsWith("COLOR")) + if (attName.toUpperCase(Locale.ROOT).endsWith("COLOR")) { attName += "_"; } @@ -257,7 +259,7 @@ public class ChimeraCommands extends StructureCommandsBase @Override public List superposeStructures(AtomSpecModel ref, - AtomSpecModel spec) + AtomSpecModel spec, boolean isNucleotide) { /* * Form Chimera match command to match spec to ref