From 3cf23b342069936d59eb239273a1b5b4b9bc40a6 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 28 Apr 2015 08:41:00 +0000 Subject: [PATCH] fix typo in exc message git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676446 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/spatial/prefix/tree/GeohashPrefixTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/GeohashPrefixTree.java b/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/GeohashPrefixTree.java index f4490c1d996..e508be059e8 100644 --- a/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/GeohashPrefixTree.java +++ b/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/tree/GeohashPrefixTree.java @@ -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). */