You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by yo...@apache.org on 2007/03/01 06:03:45 UTC

svn commit: r513142 - /lucene/java/trunk/src/java/org/apache/lucene/index/Term.java

Author: yonik
Date: Wed Feb 28 21:03:45 2007
New Revision: 513142

URL: http://svn.apache.org/viewvc?view=rev&rev=513142
Log:
clarify null term text

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/Term.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/Term.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/Term.java?view=diff&rev=513142&r1=513141&r2=513142
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/Term.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/Term.java Wed Feb 28 21:03:45 2007
@@ -29,7 +29,9 @@
   String field;
   String text;
 
-  /** Constructs a Term with the given field and text. */
+  /** Constructs a Term with the given field and text.
+   * <p>Note that a text value of null results in undefined
+   * behavior for most Lucene APIs that accept a Term parameter. */
   public Term(String fld, String txt) {
     this(fld, txt, true);
   }