Apache Solr open-source search software
remove private method that was not used at all
Daniel Naber8fa9ff435df2
diff --git a/src/java/org/apache/lucene/analysis/WordlistLoader.java b/src/java/org/apache/lucene/analysis/WordlistLoader.javaindex a3684c7339e..02ddc02ea44 100644--- a/src/java/org/apache/lucene/analysis/WordlistLoader.java+++ b/src/java/org/apache/lucene/analysis/WordlistLoader.java@@ -16,14 +16,12 @@ package org.apache.lucene.analysis;* limitations under the License.*/+import java.io.BufferedReader;import java.io.File;import java.io.FileReader;import java.io.IOException;import java.io.Reader;-import java.io.BufferedReader;import java.util.HashSet;-import java.util.Hashtable;-import java.util.Iterator;/*** Loader for text files that represent a list of stopwords.@@ -86,19 +84,4 @@ public class WordlistLoader {return result;}-- /**- * Builds a wordlist table, using words as both keys and values- * for backward compatibility.- *- * @param wordSet stopword set- */- private static Hashtable makeWordTable(HashSet wordSet) {- Hashtable table = new Hashtable();- for (Iterator iter = wordSet.iterator(); iter.hasNext();) {- String word = (String)iter.next();- table.put(word, word);- }- return table;- }}