mirror of https://github.com/apache/lucene.git
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:
parent
19e8c6d8c3
commit
25fac5259f
|
@ -106,7 +106,8 @@ public class TestTermVectorsWriter extends TestCase {
|
|||
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);
|
||||
assertTrue(vector != null);
|
||||
String[] terms = vector.getTerms();
|
||||
|
@ -159,7 +160,7 @@ public class TestTermVectorsWriter extends TestCase {
|
|||
/**
|
||||
*
|
||||
* @param writer The writer to write to
|
||||
* @param j The field number
|
||||
* @param f The field name
|
||||
* @throws IOException
|
||||
*/
|
||||
private void writeField(TermVectorsWriter writer, String f) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue