otis 2002/11/06 11:55:02 Modified: src/java/org/apache/lucene/document Document.java Log: - Fixed javadoc. Revision Changes Path 1.4 +4 -4 jakarta-lucene/src/java/org/apache/lucene/document/Document.java Index: Document.java =================================================================== RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/Document.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Document.java 29 Jul 2002 19:11:14 -0000 1.3 +++ Document.java 6 Nov 2002 19:55:02 -0000 1.4 @@ -110,8 +110,8 @@ } /** Returns a field with the given name if any exist in this document, or - null. If multiple fields may exist with this name, this method returns the - last added such added. */ + null. If multiple fields exists with this name, this method returns the + last field value added. */ public final Field getField(String name) { for (DocumentFieldList list = fieldList; list != null; list = list.next) if (list.field.name().equals(name)) @@ -120,8 +120,8 @@ } /** Returns the string value of the field with the given name if any exist in - this document, or null. If multiple fields may exist with this name, this - method returns the last added such added. */ + this document, or null. If multiple fields exist with this name, this + method returns the last value added. */ public final String get(String name) { Field field = getField(name); if (field != null)
-- To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:lucene-dev-help@;jakarta.apache.org>