lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [49/53] [abbrv] lucenenet git commit: Lucene.Net.Tartarus.Snowball.Ext: Added exceptions to the .NET numeric convention rule for r_shortv()
Date Wed, 08 Feb 2017 14:32:28 GMT
Lucene.Net.Tartarus.Snowball.Ext: Added exceptions to the .NET numeric convention rule for
r_shortv()


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

Branch: refs/heads/api-work
Commit: aef52053f3fba8b96355d6cc105361033689ec98
Parents: e67e0b5
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 8 17:50:17 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 8 21:08:25 2017 +0700

----------------------------------------------------------------------
 .../Tartarus/Snowball/Ext/EnglishStemmer.cs                     | 5 ++++-
 .../Tartarus/Snowball/Ext/PorterStemmer.cs                      | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/aef52053/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/EnglishStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/EnglishStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/EnglishStemmer.cs
index 7eda965..109d6a5 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/EnglishStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/EnglishStemmer.cs
@@ -1,4 +1,6 @@
-namespace Lucene.Net.Tartarus.Snowball.Ext
+using Lucene.Net.Support;
+
+namespace Lucene.Net.Tartarus.Snowball.Ext
 {
     /// <summary>
     /// This class was automatically generated by a Snowball to Java compiler
@@ -423,6 +425,7 @@
             return true;
         }
 
+        [ExceptionToNetNumericConvention]
         private bool r_shortv()
         {
             int v_1;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/aef52053/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/PorterStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/PorterStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/PorterStemmer.cs
index 5b64ec9..4eafd24 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/PorterStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/PorterStemmer.cs
@@ -1,4 +1,6 @@
-namespace Lucene.Net.Tartarus.Snowball.Ext
+using Lucene.Net.Support;
+
+namespace Lucene.Net.Tartarus.Snowball.Ext
 {
     /// <summary>
     /// This class was automatically generated by a Snowball to Java compiler
@@ -108,6 +110,7 @@
             base.CopyFrom(other);
         }
 
+        [ExceptionToNetNumericConvention]
         private bool r_shortv()
         {
             // (, line 19


Mime
View raw message