Return-Path: X-Original-To: apmail-lucenenet-commits-archive@www.apache.org Delivered-To: apmail-lucenenet-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 142A518ADD for ; Thu, 30 Apr 2015 23:12:41 +0000 (UTC) Received: (qmail 69706 invoked by uid 500); 30 Apr 2015 23:12:41 -0000 Delivered-To: apmail-lucenenet-commits-archive@lucenenet.apache.org Received: (qmail 69690 invoked by uid 500); 30 Apr 2015 23:12:41 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 69672 invoked by uid 99); 30 Apr 2015 23:12:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 23:12:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CDD49E3A5D; Thu, 30 Apr 2015 23:12:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: synhershko@apache.org To: commits@lucenenet.apache.org Date: Thu, 30 Apr 2015 23:12:40 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] lucenenet git commit: fix skip bytes implementation 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 Authored: Thu Apr 30 14:32:25 2015 -0400 Committer: Laimonas Simutis 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)