lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [03/16] git commit: Correct for unfortunate find/replace
Date Sun, 06 Oct 2013 23:47:51 GMT
Correct for unfortunate find/replace


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

Branch: refs/heads/branch_4x
Commit: 83c1431098804ed4ba793a51ae239d18b7c48e3f
Parents: 8b399ff
Author: Paul Irwin <paulirwin@gmail.com>
Authored: Tue Oct 1 15:00:52 2013 -0400
Committer: Paul Irwin <paulirwin@gmail.com>
Committed: Sat Oct 5 16:37:21 2013 -0400

----------------------------------------------------------------------
 src/core/Util/Fst/Builder.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/83c14310/src/core/Util/Fst/Builder.cs
----------------------------------------------------------------------
diff --git a/src/core/Util/Fst/Builder.cs b/src/core/Util/Fst/Builder.cs
index 2fa93be..fb765f9 100644
--- a/src/core/Util/Fst/Builder.cs
+++ b/src/core/Util/Fst/Builder.cs
@@ -20,7 +20,7 @@ namespace Lucene.Net.Util.Fst
         // terms go through it
         private readonly int _minSuffixCount2;
 
-        private readonly bool _doShareNonfloattonNodes;
+        private readonly bool _doShareNonSingletonNodes;
         private readonly int _shareMaxTailLength;
 
         private readonly IntsRef _lastInput = new IntsRef();
@@ -51,7 +51,7 @@ namespace Lucene.Net.Util.Fst
         }
 
         public Builder(FST.INPUT_TYPE inputType, int minSuffixCount1, int minSuffixCount2,
bool doShareSuffix,
-                       bool doShareNonfloattonNodes, int shareMaxTailLength, Outputs<T>
outputs,
+                       bool doShareNonSingletonNodes, int shareMaxTailLength, Outputs<T>
outputs,
                        FreezeTail<T> freezeTail, bool doPackFST, float acceptableOverheadRatio,
                        bool allowArrayArcs,
                        int bytesPageBits)
@@ -59,7 +59,7 @@ namespace Lucene.Net.Util.Fst
             _minSuffixCount1 = minSuffixCount1;
             _minSuffixCount2 = minSuffixCount2;
             _freezeTail = freezeTail;
-            _doShareNonfloattonNodes = doShareNonfloattonNodes;
+            _doShareNonSingletonNodes = doShareNonSingletonNodes;
             _shareMaxTailLength = shareMaxTailLength;
             _doPackFST = doPackFST;
             _acceptableOverheadRatio = acceptableOverheadRatio;
@@ -99,7 +99,7 @@ namespace Lucene.Net.Util.Fst
         private CompiledNode CompileNode(UnCompiledNode<T> nodeIn, int tailLength)
         {
             Int64 node;
-            if (_dedupHash != null && (_doShareNonfloattonNodes || nodeIn.NumArcs
<= 1) &&
+            if (_dedupHash != null && (_doShareNonSingletonNodes || nodeIn.NumArcs
<= 1) &&
                 tailLength <= _shareMaxTailLength)
                 node = nodeIn.NumArcs == 0 ? _fst.AddNode(nodeIn) : _dedupHash.Add(nodeIn);
             else


Mime
View raw message