| Index: corelib/unified/math/base.dart
|
| diff --git a/corelib/unified/math/base.dart b/corelib/unified/math/base.dart
|
| index 75696e842aafc879eb264a9c3482842a095bd88a..8452f8fdf9b8d8065337b3122ced830d3d1d0872 100644
|
| --- a/corelib/unified/math/base.dart
|
| +++ b/corelib/unified/math/base.dart
|
| @@ -45,16 +45,14 @@ final double SQRT1_2 = 0.7071067811865476;
|
| final double SQRT2 = 1.4142135623730951;
|
|
|
| /**
|
| - * Parses a [String] representation of an [int], and returns
|
| - * an [int]. Throws a [BadNumberFormatException] if [str]
|
| - * cannot be parsed as an [int].
|
| + * Parses a [String] representation of an [int], and returns an [int]. Throws a
|
| + * [FormatException] if [str] cannot be parsed as an [int].
|
| */
|
| external int parseInt(String str);
|
|
|
| /**
|
| - * Parses a [String] representation of a [double], and returns
|
| - * a [double]. Throws a [BadNumberFormatException] if [str] cannot
|
| - * be parsed as a [double].
|
| + * Parses a [String] representation of a [double], and returns a [double].
|
| + * Throws a [FormatException] if [str] cannot be parsed as a [double].
|
| */
|
| external double parseDouble(String str);
|
|
|
|
|