lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: fix skip bytes implementation
Date Thu, 30 Apr 2015 23:12:40 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master b692fc0d8 -> 27be98ab3


fix skip bytes implementation


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/465f7b9f
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/465f7b9f
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/465f7b9f

Branch: refs/heads/master
Commit: 465f7b9fda5d1d3b403d1d3fd96270a5dea6d943
Parents: b692fc0
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Thu Apr 30 14:32:25 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Thu Apr 30 14:32:25 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/Fst/BytesStore.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/465f7b9f/src/Lucene.Net.Core/Util/Fst/BytesStore.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Fst/BytesStore.cs b/src/Lucene.Net.Core/Util/Fst/BytesStore.cs
index bf81fb5..de949b8 100644
--- a/src/Lucene.Net.Core/Util/Fst/BytesStore.cs
+++ b/src/Lucene.Net.Core/Util/Fst/BytesStore.cs
@@ -541,7 +541,7 @@ namespace Lucene.Net.Util.Fst
 
             public override void SkipBytes(int count)
             {
-                Position = OuterInstance.Position - count;
+                Position = Position - count;
             }
 
             public override void ReadBytes(byte[] b, int offset, int len)


Mime
View raw message