Nope, 8 was right.
git-svn-id: svn://10.0.0.236/trunk@83896 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -287,7 +287,7 @@ public class ScriptRuntime {
|
||||
// check for "Infinity"
|
||||
if (startChar == '+' || startChar == '-')
|
||||
start++;
|
||||
if (s.regionMatches(start, "Infinity", 0, 9))
|
||||
if (s.regionMatches(start, "Infinity", 0, 8))
|
||||
return startChar == '-'
|
||||
? Double.NEGATIVE_INFINITY
|
||||
: Double.POSITIVE_INFINITY;
|
||||
|
||||
@@ -287,7 +287,7 @@ public class ScriptRuntime {
|
||||
// check for "Infinity"
|
||||
if (startChar == '+' || startChar == '-')
|
||||
start++;
|
||||
if (s.regionMatches(start, "Infinity", 0, 9))
|
||||
if (s.regionMatches(start, "Infinity", 0, 8))
|
||||
return startChar == '-'
|
||||
? Double.NEGATIVE_INFINITY
|
||||
: Double.POSITIVE_INFINITY;
|
||||
|
||||
Reference in New Issue
Block a user