From 0a61e87e25ffb2f1ce35d05643d1e9d46fe2382b Mon Sep 17 00:00:00 2001 From: Grant Ingersoll Date: Wed, 18 Aug 2010 13:41:40 +0000 Subject: [PATCH] LUCENE-2479: should have been public git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986669 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/search/spell/SuggestWordScoreComparator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWordScoreComparator.java b/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWordScoreComparator.java index ad46a2d3eb3..6ddbf3355f5 100644 --- a/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWordScoreComparator.java +++ b/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWordScoreComparator.java @@ -23,7 +23,7 @@ import java.util.Comparator; * Score first, then frequency * **/ -class SuggestWordScoreComparator implements Comparator { +public class SuggestWordScoreComparator implements Comparator { @Override public int compare(SuggestWord first, SuggestWord second) { // first criteria: the distance