mirror of https://github.com/apache/lucene.git
fix deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150901 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df82a888e5
commit
e2ee045a97
|
@ -84,7 +84,7 @@ public class SnowballFilter extends TokenFilter {
|
|||
* @param in the name of a stemmer
|
||||
*/
|
||||
public SnowballFilter(TokenStream in, String name) {
|
||||
this.input = in;
|
||||
super(in);
|
||||
try {
|
||||
Class stemClass =
|
||||
Class.forName("net.sf.snowball.ext." + name + "Stemmer");
|
||||
|
|
Loading…
Reference in New Issue