clarify Term javadoc: field shouldn't be null either

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2007-03-01 23:10:51 +00:00
parent 7b570fc8b2
commit 1c3ec1d1d2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public final class Term implements Comparable, java.io.Serializable {
String text;
/** Constructs a Term with the given field and text.
* <p>Note that a text value of null results in undefined
* <p>Note that a null field or null text value results in undefined
* behavior for most Lucene APIs that accept a Term parameter. */
public Term(String fld, String txt) {
this(fld, txt, true);