lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [3/9] lucenenet git commit: Lucene.Net.Analysis.Ga refactor: member accessibility and documentation comments
Date Fri, 03 Feb 2017 09:33:14 GMT
Lucene.Net.Analysis.Ga refactor: member accessibility and documentation comments


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

Branch: refs/heads/api-work
Commit: af4700e7baabf8f71c390af5f4a3eefd2df94e49
Parents: 3dfc567
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Feb 3 15:16:38 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Feb 3 15:16:38 2017 +0700

----------------------------------------------------------------------
 .../Analysis/Ga/IrishAnalyzer.cs                          | 10 +++++-----
 .../Analysis/Ga/IrishLowerCaseFilter.cs                   |  4 ++--
 .../Analysis/Ga/IrishLowerCaseFilterFactory.cs            |  3 +--
 3 files changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/af4700e7/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishAnalyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishAnalyzer.cs b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishAnalyzer.cs
index e1e7e6e..04bfcae 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishAnalyzer.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishAnalyzer.cs
@@ -68,7 +68,7 @@ namespace Lucene.Net.Analysis.Ga
         }
 
         /// <summary>
-        /// Atomically loads the DEFAULT_STOP_SET in a lazy fashion once the outer class

+        /// Atomically loads the <see cref="DEFAULT_STOP_SET"/> in a lazy fashion once
the outer class 
         /// accesses the static final set the first time.;
         /// </summary>
         private class DefaultSetHolder
@@ -92,7 +92,7 @@ namespace Lucene.Net.Analysis.Ga
         }
 
         /// <summary>
-        /// Builds an analyzer with the default stop words: <see cref="#DEFAULT_STOPWORD_FILE"/>.
+        /// Builds an analyzer with the default stop words: <see cref="DEFAULT_STOPWORD_FILE"/>.
         /// </summary>
         public IrishAnalyzer(LuceneVersion matchVersion)
               : this(matchVersion, DefaultSetHolder.DEFAULT_STOP_SET)
@@ -126,13 +126,13 @@ namespace Lucene.Net.Analysis.Ga
         /// <summary>
         /// Creates a
         /// <see cref="Analyzer.TokenStreamComponents"/>
-        /// which tokenizes all the text in the provided <see cref="Reader"/>.
+        /// which tokenizes all the text in the provided <see cref="TextReader"/>.
         /// </summary>
         /// <returns> A
         ///         <see cref="Analyzer.TokenStreamComponents"/>
         ///         built from an <see cref="StandardTokenizer"/> filtered with
-        ///         <see cref="StandardFilter"/>, <see cref="IrishLowerCaseFilter"/>,
<see cref="StopFilter"/>
-        ///         , <see cref="SetKeywordMarkerFilter"/> if a stem exclusion set
is
+        ///         <see cref="StandardFilter"/>, <see cref="IrishLowerCaseFilter"/>,
<see cref="StopFilter"/>,
+        ///         <see cref="SetKeywordMarkerFilter"/> if a stem exclusion set is
         ///         provided and <see cref="SnowballFilter"/>. </returns>
         protected override TokenStreamComponents CreateComponents(string fieldName, TextReader
reader)
         {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/af4700e7/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs
index 2a876f5..3fbfdd5 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs
@@ -29,10 +29,10 @@ namespace Lucene.Net.Analysis.Ga
         private readonly ICharTermAttribute termAtt;
 
         /// <summary>
-        /// Create an IrishLowerCaseFilter that normalises Irish token text.
+        /// Create an <see cref="IrishLowerCaseFilter"/> that normalises Irish token
text.
         /// </summary>
         public IrishLowerCaseFilter(TokenStream @in)
-              : base(@in)
+            : base(@in)
         {
             termAtt = AddAttribute<ICharTermAttribute>();
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/af4700e7/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilterFactory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilterFactory.cs b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilterFactory.cs
index c292cd5..c2e8d47 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilterFactory.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilterFactory.cs
@@ -32,9 +32,8 @@ namespace Lucene.Net.Analysis.Ga
     /// </summary>
     public class IrishLowerCaseFilterFactory : TokenFilterFactory, IMultiTermAwareComponent
     {
-
         /// <summary>
-        /// Creates a new IrishLowerCaseFilterFactory </summary>
+        /// Creates a new <see cref="IrishLowerCaseFilterFactory"/> </summary>
         public IrishLowerCaseFilterFactory(IDictionary<string, string> args) : base(args)
         {
             if (args.Count > 0)


Mime
View raw message