lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r826398 - in /lucene/java/branches/lucene_2_9: CHANGES.txt src/java/org/apache/lucene/analysis/Token.java
Date Sun, 18 Oct 2009 10:29:14 GMT
Author: uschindler
Date: Sun Oct 18 10:29:13 2009
New Revision: 826398

URL: http://svn.apache.org/viewvc?rev=826398&view=rev
Log:
LUCENE-1987: Undeprecate some Token ctors.

Modified:
    lucene/java/branches/lucene_2_9/CHANGES.txt
    lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/analysis/Token.java

Modified: lucene/java/branches/lucene_2_9/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/CHANGES.txt?rev=826398&r1=826397&r2=826398&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9/CHANGES.txt (original)
+++ lucene/java/branches/lucene_2_9/CHANGES.txt Sun Oct 18 10:29:13 2009
@@ -19,7 +19,12 @@
  * LUCENE-1986: Fix NPE when scoring PayloadNearQuery (Peter Keegan,
    Mark Miller via Mike McCandless)
 
-======================= Release 2.9.0 2009-09-23 =======================
+API Changes
+
+ * LUCENE-1987: Un-deprecate some ctors of Token, as they will not
+   be removed in 3.0 and are still useful. (Uwe Schindler)
+
+ ======================= Release 2.9.0 2009-09-23 =======================
 
 Changes in backwards compatibility policy
 

Modified: lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/analysis/Token.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/analysis/Token.java?rev=826398&r1=826397&r2=826398&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/analysis/Token.java (original)
+++ lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/analysis/Token.java Sun Oct
18 10:29:13 2009
@@ -235,7 +235,6 @@
    *  @param text term text
    *  @param start start offset
    *  @param end end offset
-   *  @deprecated Use {@link #Token(char[], int, int, int, int)} instead.
    */
   public Token(String text, int start, int end) {
     termText = text;
@@ -251,7 +250,6 @@
    *  @param start start offset
    *  @param end end offset
    *  @param typ token type
-   *  @deprecated Use {@link #Token(char[], int, int, int, int)} and {@link #setType(String)}
instead.
    */
   public Token(String text, int start, int end, String typ) {
     termText = text;
@@ -269,7 +267,6 @@
    * @param start
    * @param end
    * @param flags token type bits
-   * @deprecated Use {@link #Token(char[], int, int, int, int)} and {@link #setFlags(int)}
instead.
    */
   public Token(String text, int start, int end, int flags) {
     termText = text;



Mime
View raw message