diff options
author | Elliott Hughes <enh@google.com> | 2011-01-26 14:36:51 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-01-26 15:21:11 -0800 |
commit | 8899157a607a6bfd4ca4f361c77db8726885e47b (patch) | |
tree | e7606a90d2a8e87a68f1630cacf9c016fa1910e5 /luni/src/test/java/tests/SQLite/JDBCDriverTest.java | |
parent | 30a7ff69872ad0b8de60550a740818b645ba0f29 (diff) | |
download | libcore-8899157a607a6bfd4ca4f361c77db8726885e47b.zip libcore-8899157a607a6bfd4ca4f361c77db8726885e47b.tar.gz libcore-8899157a607a6bfd4ca4f361c77db8726885e47b.tar.bz2 |
Minor float/double parsing improvements.
This removes some duplication and fixes an actual bug: we'd accept strings
like ".NaN" or "Infinity." because the length check was done incorrectly.
Also add explicit unit tests for some Double.toString duplicate bug reports,
since that ought to be SOP.
(I'm here to fix an unrelated bug, but want to keep this cleanup separate.)
Change-Id: I197613afe52fae8da7a1598bb6b43514dcc03b98
Diffstat (limited to 'luni/src/test/java/tests/SQLite/JDBCDriverTest.java')
0 files changed, 0 insertions, 0 deletions