lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [28/28] lucenenet git commit: Lucene.Net.Analysis.Stempel.Pl.PolishAnalyzer refactor: renamed GetDefaultStopSet() > DefaultStopSet, GetDefaultTable() > DefaultTable
Date Wed, 01 Feb 2017 10:22:25 GMT
Lucene.Net.Analysis.Stempel.Pl.PolishAnalyzer refactor: renamed GetDefaultStopSet() > DefaultStopSet,
GetDefaultTable() > DefaultTable


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

Branch: refs/heads/api-work
Commit: f2e63d354fd34a9dcb55bf812ebe23e5a9a77591
Parents: a332430
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 17:12:29 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 17:12:29 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs         | 8 ++++----
 .../Stempel/StempelPolishStemFilterFactory.cs                | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f2e63d35/src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs b/src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs
index 60e22ad..acfe570 100644
--- a/src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs
+++ b/src/Lucene.Net.Analysis.Stempel/Pl/PolishAnalyzer.cs
@@ -52,17 +52,17 @@ namespace Lucene.Net.Analysis.Pl
         /// Returns an unmodifiable instance of the default stop words set.
         /// </summary>
         /// <returns>default stop words set.</returns>
-        public static CharArraySet GetDefaultStopSet()
+        public static CharArraySet DefaultStopSet
         {
-            return DefaultsHolder.DEFAULT_STOP_SET;
+            get { return DefaultsHolder.DEFAULT_STOP_SET; }
         }
 
         /// <summary>
         /// Returns an unmodifiable instance of the default stemmer table.
         /// </summary>
-        public static Trie GetDefaultTable()
+        public static Trie DefaultTable
         {
-            return DefaultsHolder.DEFAULT_TABLE;
+            get { return DefaultsHolder.DEFAULT_TABLE; }
         }
 
         /// <summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f2e63d35/src/Lucene.Net.Analysis.Stempel/Stempel/StempelPolishStemFilterFactory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Stempel/Stempel/StempelPolishStemFilterFactory.cs b/src/Lucene.Net.Analysis.Stempel/Stempel/StempelPolishStemFilterFactory.cs
index 759f403..510e87c 100644
--- a/src/Lucene.Net.Analysis.Stempel/Stempel/StempelPolishStemFilterFactory.cs
+++ b/src/Lucene.Net.Analysis.Stempel/Stempel/StempelPolishStemFilterFactory.cs
@@ -42,7 +42,7 @@ namespace Lucene.Net.Analysis.Stempel
 
         public override TokenStream Create(TokenStream input)
         {
-            return new StempelFilter(input, new StempelStemmer(PolishAnalyzer.GetDefaultTable()));
+            return new StempelFilter(input, new StempelStemmer(PolishAnalyzer.DefaultTable));
         }
     }
 }


Mime
View raw message