From 25fac5259fe09a0fc9521f1e9f38053c72b337c8 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Wed, 25 Aug 2004 12:02:59 +0000 Subject: [PATCH] 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 --- src/test/org/apache/lucene/index/TestTermVectorsWriter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/org/apache/lucene/index/TestTermVectorsWriter.java b/src/test/org/apache/lucene/index/TestTermVectorsWriter.java index 23184275e3c..a36207444d0 100644 --- a/src/test/org/apache/lucene/index/TestTermVectorsWriter.java +++ b/src/test/org/apache/lucene/index/TestTermVectorsWriter.java @@ -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 {