You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2004/10/07 16:42:23 UTC

svn commit: rev 53983 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/search/lucene

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;
         }
     }