From c8a221d1e14eb5fe4f28a55d83ea1ded928bac11 Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Tue, 7 Jan 2003 16:09:03 +0000 Subject: [PATCH] - Updated Javadocs. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149919 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/document/Document.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/org/apache/lucene/document/Document.java b/src/java/org/apache/lucene/document/Document.java index e4c9a910bad..1e8c447f0c7 100644 --- a/src/java/org/apache/lucene/document/Document.java +++ b/src/java/org/apache/lucene/document/Document.java @@ -140,6 +140,7 @@ public final class Document implements java.io.Serializable { /** * Returns an array of {@link Field}s with the given name. + * This method can return null. * * @param name the name of the field * @return a Field[] array @@ -165,6 +166,8 @@ public final class Document implements java.io.Serializable { /** * Returns an array of values of the field specified as the method parameter. + * This method can return null. + * UnStored fields' values cannot be returned by this method. * * @param name the name of the field * @return a String[] of field values