change recently added factories to declare specific return types for improved documentation and to aid stub generation

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@724625 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2008-12-09 06:59:23 +00:00
parent 4d0a1f76fc
commit 592d5b72c4
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import java.io.Reader;
**/
public class ArabicLetterTokenizerFactory extends BaseTokenizerFactory{
public TokenStream create(Reader input) {
public ArabicLetterTokenizer create(Reader input) {
return new ArabicLetterTokenizer(input);
}
}

View File

@ -10,7 +10,7 @@ import org.apache.lucene.analysis.ar.ArabicNormalizationFilter;
**/
public class ArabicNormalizationFilterFactory extends BaseTokenFilterFactory{
public TokenStream create(TokenStream input) {
public ArabicNormalizationFilter create(TokenStream input) {
return new ArabicNormalizationFilter(input);
}
}

View File

@ -11,7 +11,7 @@ import org.apache.lucene.analysis.ar.ArabicStemFilter;
public class ArabicStemFilterFactory extends BaseTokenFilterFactory{
public TokenStream create(TokenStream input) {
public ArabicStemFilter create(TokenStream input) {
return new ArabicStemFilter(input);
}
}

View File

@ -29,7 +29,7 @@ import org.apache.lucene.analysis.TokenStream;
*/
public class CharStreamAwareCJKTokenizerFactory extends BaseTokenizerFactory {
public TokenStream create(Reader input) {
public CharStreamAwareCJKTokenizer create(Reader input) {
return new CharStreamAwareCJKTokenizer( (CharStream)input );
}
}

View File

@ -29,7 +29,7 @@ import org.apache.lucene.analysis.TokenStream;
*/
public class CharStreamAwareWhitespaceTokenizerFactory extends BaseTokenizerFactory {
public TokenStream create(Reader input) {
public CharStreamAwareWhitespaceTokenizer create(Reader input) {
return new CharStreamAwareWhitespaceTokenizer( (CharStream)input );
}
}