Handling of numbers in scientific notation in parsePoints used to be
incorrect, because a number could be broken by an exponent minus sign,
resulting in incorrect values.
E.g. '2.5e-1' -> '2.5e', '-1'.
String-splitting-based parsing is replaced with a simpler use of Scanner, otherwise keeping the behaviour, esp. error handling, unchanged.
Handling of numbers in scientific notation in
parsePoints
used to be incorrect, because a number could be broken by an exponent minus sign, resulting in incorrect values.E.g. '2.5e-1' -> '2.5e', '-1'.
String-splitting-based parsing is replaced with a simpler use of
Scanner
, otherwise keeping the behaviour, esp. error handling, unchanged.