lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r796617 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java
Date Wed, 22 Jul 2009 06:24:54 GMT
Author: buschmi
Date: Wed Jul 22 06:24:54 2009
New Revision: 796617

URL: http://svn.apache.org/viewvc?rev=796617&view=rev
Log:
Small fix for TestPayloads testcase.

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java?rev=796617&r1=796616&r2=796617&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestPayloads.java Wed Jul 22 06:24:54
2009
@@ -532,6 +532,7 @@
         
         public boolean incrementToken() throws IOException {
             if (!first) return false;
+            first = false;
             termAtt.setTermBuffer(term);
             payloadAtt.setPayload(new Payload(payload));
             return true;



Mime
View raw message