jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: rev 53983 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene
Date Thu, 07 Oct 2004 14:42:23 GMT
Author: mreutegg
Date: Thu Oct  7 07:42:22 2004
New Revision: 53983

Modified:
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene/FileSystemInputStream.java
Log:
- oops, bug in FileSystemInputStream. seek position is not stored.

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene/FileSystemInputStream.java
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene/FileSystemInputStream.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene/FileSystemInputStream.java
Thu Oct  7 07:42:22 2004
@@ -57,6 +57,7 @@
         checkOpen();
         if (pos >= position) {
             in.skip(pos - position);
+            position = pos;
         } else {
             // seeking backwards
             in.close();
@@ -66,6 +67,7 @@
                 throw new IOException(e.getMessage());
             }
             in.skip(pos);
+            position = pos;
         }
     }
 

Mime
View raw message