fix "@param" comment; remove IOException that was never thrown

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150450 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-08-25 12:02:59 +00:00
parent 19e8c6d8c3
commit 25fac5259f
1 changed files with 3 additions and 2 deletions

View File

@ -106,7 +106,8 @@ public class TestTermVectorsWriter extends TestCase {
assertTrue(false); assertTrue(false);
} }
} }
private void checkTermVector(TermVectorsReader reader, int docNum, String field) throws IOException {
private void checkTermVector(TermVectorsReader reader, int docNum, String field) {
TermFreqVector vector = reader.get(docNum, field); TermFreqVector vector = reader.get(docNum, field);
assertTrue(vector != null); assertTrue(vector != null);
String[] terms = vector.getTerms(); String[] terms = vector.getTerms();
@ -159,7 +160,7 @@ public class TestTermVectorsWriter extends TestCase {
/** /**
* *
* @param writer The writer to write to * @param writer The writer to write to
* @param j The field number * @param f The field name
* @throws IOException * @throws IOException
*/ */
private void writeField(TermVectorsWriter writer, String f) throws IOException { private void writeField(TermVectorsWriter writer, String f) throws IOException {