lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/analysis Token.java
Date Sun, 10 Nov 2002 23:35:55 GMT
otis        2002/11/10 15:35:55

  Modified:    src/java/org/apache/lucene/analysis Token.java
  Log:
  - Corrected the exception message.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-lucene/src/java/org/apache/lucene/analysis/Token.java
  
  Index: Token.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/Token.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Token.java	5 Aug 2002 17:39:03 -0000	1.3
  +++ Token.java	10 Nov 2002 23:35:55 -0000	1.4
  @@ -122,7 +122,7 @@
     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;
     }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message