lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1231225 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
Date Fri, 13 Jan 2012 18:26:38 GMT
Author: mikemccand
Date: Fri Jan 13 18:26:38 2012
New Revision: 1231225

URL: http://svn.apache.org/viewvc?rev=1231225&view=rev
Log:
fix wrong FST javadoc

Modified:
    lucene/dev/branches/branch_3x/   (props changed)
    lucene/dev/branches/branch_3x/lucene/   (props changed)
    lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java

Modified: lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java?rev=1231225&r1=1231224&r2=1231225&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
Fri Jan 13 18:26:38 2012
@@ -25,8 +25,10 @@ import org.apache.lucene.store.DataOutpu
 /**
  * Output is a long, for each input term.  NOTE: the
  * resulting FST is not guaranteed to be minimal!  See
- * {@link Builder}.  You cannot store 0 output with this
- * (that's reserved to mean "no output")!
+ * {@link Builder}.  You must use {@link #get} to obtain the
+ * output for a given long value -- do not use autoboxing
+ * nor create your own Long instance (the value 0
+ * must map to the {@link #getNoOutput} singleton).
  *
  * @lucene.experimental
  */



Mime
View raw message