You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/01/13 19:26:38 UTC

svn commit: r1231225 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java

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
  */