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:
Michael McCandless 2015-04-28 08:41:00 +00:00
parent 921b4aeeee
commit 3cf23b3420
1 changed files with 1 additions and 1 deletions

View File

@ -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). */