lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r513142 - /lucene/java/trunk/src/java/org/apache/lucene/index/Term.java
Date Thu, 01 Mar 2007 05:03:45 GMT
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);
   }



Mime
View raw message