mirror of https://github.com/apache/lucene.git
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:
parent
3adc61c3ac
commit
869aabff8f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue