lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [03/12] git commit: Fix one bug with FST
Date Sun, 06 Oct 2013 23:05:55 GMT
Fix one bug with FST


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

Branch: refs/heads/branch_4x
Commit: 8404b339a7018574275f490069b39d9fd4256d14
Parents: e7eb5d6
Author: Paul Irwin <paulirwin@gmail.com>
Authored: Tue Oct 1 16:39:41 2013 -0400
Committer: Paul Irwin <paulirwin@gmail.com>
Committed: Tue Oct 1 16:39:41 2013 -0400

----------------------------------------------------------------------
 src/core/Util/Fst/FST.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8404b339/src/core/Util/Fst/FST.cs
----------------------------------------------------------------------
diff --git a/src/core/Util/Fst/FST.cs b/src/core/Util/Fst/FST.cs
index 145af95..8b6e302 100644
--- a/src/core/Util/Fst/FST.cs
+++ b/src/core/Util/Fst/FST.cs
@@ -223,7 +223,7 @@ namespace Lucene.Net.Util.Fst
 
         internal void Finish(long startNode)
         {
-            if (startNode != -1)
+            if (this.startNode != -1)
                 throw new InvalidOperationException("already finished");
             if (startNode == FINAL_END_NODE && EmptyOutput != null)
                 startNode = 0;


Mime
View raw message