Skip to content

Geohasher.decode throws ArrayIndexOutOfBoundsException for long inputs #16

@JavadocMD

Description

@JavadocMD

Geohasher throws an exception when decoding a hash of more than 12 characters (with default configuration). This should instead silently truncate to the number of characters allowed for the configured precision.

Geohasher.decode("spuxq0mctb6uz"); // throws java.lang.ArrayIndexOutOfBoundsException

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions