mirror of https://github.com/apache/lucene.git
Fix comparator in contrib/instantiated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
324f601c64
commit
74b190f4b7
|
@ -45,7 +45,7 @@ public class InstantiatedTermDocumentInformation
|
|||
|
||||
public static final Comparator<InstantiatedTermDocumentInformation> termComparator = new Comparator<InstantiatedTermDocumentInformation>() {
|
||||
public int compare(InstantiatedTermDocumentInformation instantiatedTermDocumentInformation, InstantiatedTermDocumentInformation instantiatedTermDocumentInformation1) {
|
||||
return instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instantiatedTermDocumentInformation1.getTerm());
|
||||
return instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instantiatedTermDocumentInformation1.getTerm().getTerm());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue