lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index SegmentInfos.java
Date Tue, 18 Nov 2003 11:35:58 GMT
otis        2003/11/18 03:35:58

  Modified:    src/java/org/apache/lucene/index SegmentInfos.java
  Log:
  - Removed tabs.
  
  Revision  Changes    Path
  1.2       +8 -8      jakarta-lucene/src/java/org/apache/lucene/index/SegmentInfos.java
  
  Index: SegmentInfos.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/SegmentInfos.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SegmentInfos.java	18 Sep 2001 16:29:53 -0000	1.1
  +++ SegmentInfos.java	18 Nov 2003 11:35:57 -0000	1.2
  @@ -62,7 +62,7 @@
   
   final class SegmentInfos extends Vector {
     public int counter = 0;			  // used to name new segments
  -  
  +
     public final SegmentInfo info(int i) {
       return (SegmentInfo)elementAt(i);
     }
  @@ -70,11 +70,11 @@
     public final void read(Directory directory) throws IOException {
       InputStream input = directory.openFile("segments");
       try {
  -      counter = input.readInt();		  // read counter
  +      counter = input.readInt();		          // read counter
         for (int i = input.readInt(); i > 0; i--) { // read segmentInfos
  -	SegmentInfo si = new SegmentInfo(input.readString(), input.readInt(),
  -					 directory);
  -	addElement(si);
  +        SegmentInfo si = new SegmentInfo(input.readString(), input.readInt(),
  +          directory);
  +        addElement(si);
         }
       } finally {
         input.close();
  @@ -87,9 +87,9 @@
         output.writeInt(counter);			  // write counter
         output.writeInt(size());			  // write infos
         for (int i = 0; i < size(); i++) {
  -	SegmentInfo si = info(i);
  -	output.writeString(si.name);
  -	output.writeInt(si.docCount);
  +        SegmentInfo si = info(i);
  +        output.writeString(si.name);
  +        output.writeInt(si.docCount);
         }
       } finally {
         output.close();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message