- Corrected the exception message.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-11-10 23:35:55 +00:00
parent a82881ed4d
commit c769f13a2c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public final class Token {
public void setPositionIncrement(int positionIncrement) {
if (positionIncrement < 0)
throw new IllegalArgumentException
("Increment must be positive: " + positionIncrement);
("Increment must be zero or greater: " + positionIncrement);
this.positionIncrement = positionIncrement;
}