lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [04/16] git commit: Fix one bug with FST
Date Sun, 06 Oct 2013 23:47:52 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/3c5bf26c
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/3c5bf26c
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/3c5bf26c

Branch: refs/heads/branch_4x
Commit: 3c5bf26cd8f9a0e539ae5be4640b9288abb21284
Parents: 83c1431
Author: Paul Irwin <paulirwin@gmail.com>
Authored: Tue Oct 1 16:39:41 2013 -0400
Committer: Paul Irwin <paulirwin@gmail.com>
Committed: Sat Oct 5 16:37:23 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/3c5bf26c/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