lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r601662 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/TopDocs.java
Date Thu, 06 Dec 2007 09:06:41 GMT
Author: buschmi
Date: Thu Dec  6 01:06:40 2007
New Revision: 601662

URL: http://svn.apache.org/viewvc?rev=601662&view=rev
Log:
LUCENE-1064: Changed TopDocs constructor to be public. 

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=601662&r1=601661&r2=601662&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Thu Dec  6 01:06:40 2007
@@ -79,6 +79,9 @@
 
  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
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java?rev=601662&r1=601661&r2=601662&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java Thu Dec  6 01:06:40 2007
@@ -40,7 +40,7 @@
   }
   
   /** 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;



Mime
View raw message