From: <ha...@us...> - 2014-07-28 15:30:21
|
Revision: 19889 http://sourceforge.net/p/jmol/code/19889 Author: hansonr Date: 2014-07-28 15:30:14 +0000 (Mon, 28 Jul 2014) Log Message: ----------- Character.isAlphabetic (Java7) --> Character.isLetter Modified Paths: -------------- trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java Modified: trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2014-07-27 23:06:54 UTC (rev 19888) +++ trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2014-07-28 15:30:14 UTC (rev 19889) @@ -1049,7 +1049,7 @@ } for(Entry<String, SV> e: map.entrySet()) { String k = e.getKey(); - if (isAll && (k.length() == 0 || !Character.isAlphabetic(k.charAt(0)))) { + if (isAll && (k.length() == 0 || !Character.isLetter(k.charAt(0)))) { if (prefix.endsWith(".")) prefix = prefix.substring(0, prefix.length() - 1); k = "[" + PT.esc(k) + "]"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |