Closed kungfoo closed 13 years ago
While creating a unit test for toBinaryString() and fromBinaryString() I just found, that the current implementation of toBinaryString() does not work in some corner cases. For instance:
toBinaryString()
fromBinaryString()
The Geohash:
(-89.9945068359375,-180.0) -> (-90.0,-179.989013671875) -> 000000
causes it to throw an StringIndexOutOfBoundsException.
I will have to reimplement toBinaryString().
This has been fixed in 1.0.4.
While creating a unit test for
toBinaryString()
andfromBinaryString()
I just found, that the current implementation oftoBinaryString()
does not work in some corner cases. For instance:The Geohash:
causes it to throw an StringIndexOutOfBoundsException.
I will have to reimplement
toBinaryString()
.