mirror of https://github.com/apache/lucene.git
LUCENE-1064: Changed TopDocs constructor to be public.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601662 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
47d31b60f3
commit
2e678a307d
|
@ -79,6 +79,9 @@ API Changes
|
|||
|
||||
10. LUCENE-1080: Changed Token.DEFAULT_TYPE to be public.
|
||||
|
||||
11. LUCENE-1064: Changed TopDocs constructor to be public.
|
||||
(Shai Erera via Michael Busch)
|
||||
|
||||
|
||||
Bug fixes
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ public class TopDocs implements java.io.Serializable {
|
|||
}
|
||||
|
||||
/** Expert: Constructs a TopDocs.*/
|
||||
TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore) {
|
||||
public TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore) {
|
||||
this.totalHits = totalHits;
|
||||
this.scoreDocs = scoreDocs;
|
||||
this.maxScore = maxScore;
|
||||
|
|
Loading…
Reference in New Issue