Apache Solr open-source search software
Remove one more deprecation.
Uwe Schindlera4b490f1592d
diff --git a/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java b/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.javaindex f5292fd092e..e5316b383ae 100644--- a/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java+++ b/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java@@ -69,8 +69,7 @@ public final class StandardTokenizer extends Tokenizer {/*** @deprecated this solves a bug where HOSTs that end with '.' are identified- * as ACRONYMs. It is deprecated and will be removed in the next- * release.+ * as ACRONYMs.*/public static final int ACRONYM_DEP = 8;@@ -87,17 +86,6 @@ public final class StandardTokenizer extends Tokenizer {"<ACRONYM_DEP>"};- /** @deprecated Please use {@link #TOKEN_TYPES} instead */- public static final String [] tokenImage = TOKEN_TYPES;-- /**- * Specifies whether deprecated acronyms should be replaced with HOST type.- * This is false by default to support backward compatibility.- *<p/>- * See http://issues.apache.org/jira/browse/LUCENE-1068- *- * @deprecated this should be removed in the next release (3.0).- */private boolean replaceInvalidAcronym;private int maxTokenLength = StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH;diff --git a/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java b/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.javaindex da9ab969774..65249aba2ea 100644--- a/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java+++ b/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java@@ -350,8 +350,7 @@ public static final int NUM = StandardTokenizer.NUM;public static final int CJ = StandardTokenizer.CJ;/*** @deprecated this solves a bug where HOSTs that end with '.' are identified- * as ACRONYMs. It is deprecated and will be removed in the next- * release.+ * as ACRONYMs.*/public static final int ACRONYM_DEP = StandardTokenizer.ACRONYM_DEP;diff --git a/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex b/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflexindex 2aa79447694..0d886031779 100644--- a/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex+++ b/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex@@ -52,8 +52,7 @@ public static final int NUM = StandardTokenizer.NUM;public static final int CJ = StandardTokenizer.CJ;/*** @deprecated this solves a bug where HOSTs that end with '.' are identified- * as ACRONYMs. It is deprecated and will be removed in the next- * release.+ * as ACRONYMs.*/public static final int ACRONYM_DEP = StandardTokenizer.ACRONYM_DEP;