Mailing List Archive

[PATCH] JavaDoc correction to IndexWriter ctors
Corrected variable names referenced in constructor JavaDoc.

Index: IndexWriter.java
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java,v
retrieving revision 1.3
diff -u -u -r1.3 IndexWriter.java
--- IndexWriter.java 20 Oct 2001 02:32:59 -0000 1.3
+++ IndexWriter.java 28 Jan 2002 05:39:57 -0000
@@ -93,7 +93,7 @@

/** Constructs an IndexWriter for the index in <code>path</code>. Text will
be analyzed with <code>a</code>. If <code>create</code> is true, then a
- new, empty index will be created in <code>d</code>, replacing the index
+ new, empty index will be created in <code>path</code>, replacing the index
already there, if any. */
public IndexWriter(String path, Analyzer a, boolean create)
throws IOException {
@@ -102,7 +102,7 @@

/** Constructs an IndexWriter for the index in <code>path</code>. Text will
be analyzed with <code>a</code>. If <code>create</code> is true, then a
- new, empty index will be created in <code>d</code>, replacing the index
+ new, empty index will be created in <code>path</code>, replacing the index
already there, if any. */
public IndexWriter(File path, Analyzer a, boolean create)
throws IOException {

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>