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:
Michael Busch 2007-12-06 09:06:40 +00:00
parent 47d31b60f3
commit 2e678a307d
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;