Small fix for TestPayloads testcase.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Busch 2009-07-22 06:24:54 +00:00
parent 3adc61c3ac
commit 869aabff8f
1 changed files with 1 additions and 0 deletions

View File

@ -532,6 +532,7 @@ public class TestPayloads extends LuceneTestCase {
public boolean incrementToken() throws IOException {
if (!first) return false;
first = false;
termAtt.setTermBuffer(term);
payloadAtt.setPayload(new Payload(payload));
return true;