mirror of https://github.com/apache/lucene.git
fix typo in exc message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
921b4aeeee
commit
3cf23b3420
|
@ -62,7 +62,7 @@ public class GeohashPrefixTree extends LegacyPrefixTree {
|
|||
throw new IllegalArgumentException("Geohash only supports lat-lon world bounds. Got "+bounds);
|
||||
int MAXP = getMaxLevelsPossible();
|
||||
if (maxLevels <= 0 || maxLevels > MAXP)
|
||||
throw new IllegalArgumentException("maxLen must be [1-"+MAXP+"] but got "+ maxLevels);
|
||||
throw new IllegalArgumentException("maxLevels must be [1-"+MAXP+"] but got "+ maxLevels);
|
||||
}
|
||||
|
||||
/** Any more than this and there's no point (double lat and lon are the same). */
|
||||
|
|
Loading…
Reference in New Issue