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
Merge commit 'alpha/update_2_12_for_2_11_2_series_merge^2' into HEAD
[jalview.git]
/
src
/
jalview
/
io
/
FeaturesFile.java
diff --git
a/src/jalview/io/FeaturesFile.java
b/src/jalview/io/FeaturesFile.java
index
c08c84e
..
dda59a7
100755
(executable)
--- a/
src/jalview/io/FeaturesFile.java
+++ b/
src/jalview/io/FeaturesFile.java
@@
-20,6
+20,8
@@
*/
package jalview.io;
*/
package jalview.io;
+import java.util.Locale;
+
import java.awt.Color;
import java.io.IOException;
import java.util.ArrayList;
import java.awt.Color;
import java.io.IOException;
import java.util.ArrayList;
@@
-234,7
+236,7
@@
public class FeaturesFile extends AlignFile implements FeaturesSourceI
// skip comments/process pragmas
if (line.length() == 0 || line.startsWith("#"))
{
// skip comments/process pragmas
if (line.length() == 0 || line.startsWith("#"))
{
- if (line.toLowerCase().startsWith("##"))
+ if (line.toLowerCase(Locale.ROOT).startsWith("##"))
{
processGffPragma(line, gffProps, align, newseqs);
}
{
processGffPragma(line, gffProps, align, newseqs);
}
@@
-346,7
+348,7
@@
public class FeaturesFile extends AlignFile implements FeaturesSourceI
String line;
while ((line = nextLine()) != null)
{
String line;
while ((line = nextLine()) != null)
{
- if (line.toUpperCase().startsWith(ENDFILTERS))
+ if (line.toUpperCase(Locale.ROOT).startsWith(ENDFILTERS))
{
return;
}
{
return;
}