lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [4/5] lucenenet git commit: Lucene.Net.Search.Suggest.Analyzing.FSTUtil.Path<T>.Output: Changed accessibility to public. This wasn't made public until Lucene 5.1, but doing it for 4.8 since it is required by end users.
Date Sat, 16 Sep 2017 06:26:47 GMT
Lucene.Net.Search.Suggest.Analyzing.FSTUtil.Path<T>.Output: Changed accessibility to
public. This wasn't made public until Lucene 5.1, but doing it for 4.8 since it is required
by end users.


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

Branch: refs/heads/master
Commit: e43a4c8fde97c714b7a99b35a0e35c58fb96afc3
Parents: e4f2562
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Sep 16 01:24:45 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Sep 16 01:24:45 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e43a4c8f/src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs b/src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs
index fad4a9c..591c529 100644
--- a/src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Analyzing/FSTUtil.cs
@@ -30,12 +30,8 @@ namespace Lucene.Net.Search.Suggest.Analyzing
     /// Exposes a utility method to enumerate all paths
     /// intersecting an <see cref="Automaton"/> with an <see cref="FST"/>.
     /// </summary>
-    public class FSTUtil
+    public static class FSTUtil // LUCENENET specific - made static since all members are
static
     {
-        private FSTUtil()
-        {
-        }
-
         /// <summary>
         /// Holds a pair (automaton, fst) of states and accumulated output in the intersected
machine. </summary>
         public sealed class Path<T>
@@ -50,7 +46,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
 
             /// <summary>
             /// Output of the path so far: </summary>
-            internal T Output { get; set; }
+            public T Output { get; set; } // LUCENENET NOTE: This was made public in Lucene
5.1, but our users require it now, so we are doing it in 4.8.
 
             /// <summary>
             /// Input of the path so far: </summary>


Mime
View raw message