mirror of https://github.com/apache/lucene.git
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:
parent
4d0a1f76fc
commit
592d5b72c4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue