*/
package jalview.schemes;
+import java.util.Locale;
+
import jalview.analysis.GeneticCodes;
import java.awt.Color;
// main method generates perl representation of residue property hash
// / cut here
+ /**
+ * @j2sIgnore
+ * @param args
+ */
public static void main(String[] args)
{
Hashtable<String, Vector<String>> aaProps = new Hashtable<>();
{
continue;
}
- nuc = nuc.toUpperCase();
+ nuc = nuc.toUpperCase(Locale.ROOT);
if (!result.contains(nuc))
{
result.add(nuc);
{
continue;
}
- res = res.toUpperCase();
+ res = res.toUpperCase(Locale.ROOT);
if (!result.contains(res))
{
result.add(res);
return '0';
}
Integer index = ResidueProperties.aa3Hash
- .get(threeLetterCode.toUpperCase());
+ .get(threeLetterCode.toUpperCase(Locale.ROOT));
return index == null ? '0' : aa[index].charAt(0);
}
}