lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r593114 - /lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java
Date Thu, 08 Nov 2007 10:12:17 GMT
Author: mikemccand
Date: Thu Nov  8 02:12:17 2007
New Revision: 593114

URL: http://svn.apache.org/viewvc?rev=593114&view=rev
Log:
LUCENE-843: change public -> package protected for two advanced static methods on SegmentReader
used only during merging

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java?rev=593114&r1=593113&r2=593114&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/SegmentReader.java Thu Nov  8 02:12:17
2007
@@ -134,7 +134,7 @@
    * @throws CorruptIndexException if the index is corrupt
    * @throws IOException if there is a low-level IO error
    */
-  public static SegmentReader get(SegmentInfo si, boolean doOpenStores) throws CorruptIndexException,
IOException {
+  static SegmentReader get(SegmentInfo si, boolean doOpenStores) throws CorruptIndexException,
IOException {
     return get(si.dir, si, null, false, false, BufferedIndexInput.BUFFER_SIZE, doOpenStores);
   }
 
@@ -150,7 +150,7 @@
    * @throws CorruptIndexException if the index is corrupt
    * @throws IOException if there is a low-level IO error
    */
-  public static SegmentReader get(SegmentInfo si, int readBufferSize, boolean doOpenStores)
throws CorruptIndexException, IOException {
+  static SegmentReader get(SegmentInfo si, int readBufferSize, boolean doOpenStores) throws
CorruptIndexException, IOException {
     return get(si.dir, si, null, false, false, readBufferSize, doOpenStores);
   }
 



Mime
View raw message