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
/
structures
/
models
/
AAStructureBindingModel.java
diff --git
a/src/jalview/structures/models/AAStructureBindingModel.java
b/src/jalview/structures/models/AAStructureBindingModel.java
index
44773e9
..
748381f
100644
(file)
--- a/
src/jalview/structures/models/AAStructureBindingModel.java
+++ b/
src/jalview/structures/models/AAStructureBindingModel.java
@@
-20,6
+20,8
@@
*/
package jalview.structures.models;
*/
package jalview.structures.models;
+import java.util.Locale;
+
import java.awt.Color;
import java.io.File;
import java.io.IOException;
import java.awt.Color;
import java.io.File;
import java.io.IOException;
@@
-931,7
+933,7
@@
public abstract class AAStructureBindingModel
for (String reply : replies)
{
// return this error (Chimera only) to the user
for (String reply : replies)
{
// return this error (Chimera only) to the user
- if (reply.toLowerCase().contains("unequal numbers of atoms"))
+ if (reply.toLowerCase(Locale.ROOT).contains("unequal numbers of atoms"))
{
error += "; " + reply;
}
{
error += "; " + reply;
}