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:
Erik Hatcher 2004-01-05 15:37:49 +00:00
parent df82a888e5
commit e2ee045a97
1 changed files with 1 additions and 1 deletions

View File

@ -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");