make TopFieldDocs ctor public

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-02-25 11:02:57 +00:00
parent b97ee3a1a5
commit 5e56337374
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ extends TopDocs {
* @param fields The sort criteria used to find the top hits.
* @param maxScore The maximum score encountered.
*/
TopFieldDocs (int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore) {
public TopFieldDocs (int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore) {
super (totalHits, scoreDocs, maxScore);
this.fields = fields;
}