mirror of https://github.com/apache/lucene.git
fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@645539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5cfd9c8244
commit
62cf2ecb7f
|
@ -243,7 +243,7 @@ final class DocumentsWriterFieldData implements Comparable {
|
|||
Token token = stream.next(localToken);
|
||||
if (token == null) break;
|
||||
position += (token.getPositionIncrement() - 1);
|
||||
// LUCENE-1255: don't allow negative positon
|
||||
// LUCENE-1255: don't allow negative position
|
||||
if (position < 0)
|
||||
position = 0;
|
||||
addPosition(token);
|
||||
|
|
Loading…
Reference in New Issue