From 9798fac712d9bcf827d40bcd234d89871bfe0f4e Mon Sep 17 00:00:00 2001 From: Christoph Goller Date: Wed, 21 Apr 2004 17:08:04 +0000 Subject: [PATCH] minor javadoc changes git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150306 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/document/Document.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/lucene/document/Document.java b/src/java/org/apache/lucene/document/Document.java index dc48d2ce5a0..ea0a42686bb 100644 --- a/src/java/org/apache/lucene/document/Document.java +++ b/src/java/org/apache/lucene/document/Document.java @@ -90,8 +90,8 @@ public final class Document implements java.io.Serializable { } /** - *

Removes field with the given name from the document. - * If multiple fields exist with this name, this method returns the first value added. + *

Removes field with the specified name from the document. + * If multiple fields exist with this name, this method removes the first field that has been added. * If there is no field with the specified name, the document remains unchanged.

*

Note that the removeField(s) methods like the add method only make sense * prior to adding a document to an index. These methods cannot