mirror of https://github.com/apache/lucene.git
fix minor comment typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@805941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5be6d7bb08
commit
e1f8e33cd9
|
@ -561,7 +561,7 @@ public final class IndexSchema {
|
|||
similarityFactory = (SimilarityFactory)obj;
|
||||
similarityFactory.init(params);
|
||||
} else {
|
||||
// just like always, assume it's a Similarlity and get an ClassCastException - reasonable error handling
|
||||
// just like always, assume it's a Similarlity and get a ClassCastException - reasonable error handling
|
||||
similarityFactory = new SimilarityFactory() {
|
||||
public Similarity getSimilarity() {
|
||||
return (Similarity) obj;
|
||||
|
|
Loading…
Reference in New Issue