Apache Lucene open-source search software
- Fixed class Javadoc (spelling, missing words), reformatted a bit.
Otis Gospodneticbd8c341d871b
diff --git a/src/java/org/apache/lucene/index/TermPositions.java b/src/java/org/apache/lucene/index/TermPositions.javaindex 9834a77dacb..f0b17901043 100644--- a/src/java/org/apache/lucene/index/TermPositions.java+++ b/src/java/org/apache/lucene/index/TermPositions.java@@ -58,18 +58,23 @@ import java.io.IOException;import org.apache.lucene.document.Document;-/** TermPositions provides an interface for enumerating the <document,- frequency, <position>* > tuples for a term. <p> The document and- frequency are as for a TermDocs. The positions portion lists the ordinal- positions of each occurence of a term in a document.- @see IndexReader#termPositions- */+/**+ * TermPositions provides an interface for enumerating the <document,+ * frequency, <position>* > tuples for a term. <p> The document and+ * frequency are the same as for a TermDocs. The positions portion lists the ordinal+ * positions of each occurrence of a term in a document.+ *+ * @see IndexReader#termPositions+ */-public interface TermPositions extends TermDocs {- /** Returns next position in the current document. It is an error to call- this more than {@link #freq()} times- without calling {@link #next()}<p> This is- invalid until {@link #next()} is called for- the first time.*/- int nextPosition() throws IOException;-}+public interface TermPositions+ extends TermDocs+{+ /** Returns next position in the current document. It is an error to call+ this more than {@link #freq()} times+ without calling {@link #next()}<p> This is+ invalid until {@link #next()} is called for+ the first time.+ */+ int nextPosition() throws IOException;+}