mirror of https://github.com/apache/lucene.git
remove @override on interface (java6-only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64bdf38619
commit
f50e111501
|
@ -25,7 +25,6 @@ import java.util.Comparator;
|
||||||
**/
|
**/
|
||||||
public class SuggestWordFrequencyComparator implements Comparator<SuggestWord> {
|
public class SuggestWordFrequencyComparator implements Comparator<SuggestWord> {
|
||||||
|
|
||||||
@Override
|
|
||||||
public int compare(SuggestWord first, SuggestWord second) {
|
public int compare(SuggestWord first, SuggestWord second) {
|
||||||
// first criteria: the frequency
|
// first criteria: the frequency
|
||||||
if (first.freq > second.freq) {
|
if (first.freq > second.freq) {
|
||||||
|
|
|
@ -24,7 +24,6 @@ import java.util.Comparator;
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
public class SuggestWordScoreComparator implements Comparator<SuggestWord> {
|
public class SuggestWordScoreComparator implements Comparator<SuggestWord> {
|
||||||
@Override
|
|
||||||
public int compare(SuggestWord first, SuggestWord second) {
|
public int compare(SuggestWord first, SuggestWord second) {
|
||||||
// first criteria: the distance
|
// first criteria: the distance
|
||||||
if (first.score > second.score) {
|
if (first.score > second.score) {
|
||||||
|
|
Loading…
Reference in New Issue