You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/26 02:50:07 UTC

[2/2] lucenenet git commit: Lucene.Net.Analysis.Common.Analysis.Hunspell.ISO8859_14Decoder: Added ExceptionToClassNameConvention attribute

Lucene.Net.Analysis.Common.Analysis.Hunspell.ISO8859_14Decoder: Added ExceptionToClassNameConvention attribute


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

Branch: refs/heads/api-work
Commit: 1ebaad01e1d75fc5c5196f14d525ba805b6c5d05
Parents: 933ae78
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Jan 26 09:46:48 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Jan 26 09:46:48 2017 +0700

----------------------------------------------------------------------
 .../Analysis/Hunspell/ISO8859_14Decoder.cs                      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1ebaad01/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/ISO8859_14Decoder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/ISO8859_14Decoder.cs b/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/ISO8859_14Decoder.cs
index 7558efd..c281600 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/ISO8859_14Decoder.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/ISO8859_14Decoder.cs
@@ -1,4 +1,5 @@
-\ufeffusing System;
+\ufeffusing Lucene.Net.Support;
+using System;
 using System.Text;
 
 namespace Lucene.Net.Analysis.Hunspell
@@ -23,6 +24,7 @@ namespace Lucene.Net.Analysis.Hunspell
     // LUCENENET NOTE: This class was refactored from its Java counterpart.
 
     // many hunspell dictionaries use this encoding, yet java/.NET does not have it?!?!
+    [ExceptionToClassNameConvention]
     internal sealed class ISO8859_14Encoding : Encoding
     {
         private static readonly Decoder decoder = new ISO8859_14Decoder();
@@ -82,6 +84,7 @@ namespace Lucene.Net.Analysis.Hunspell
         #endregion
     }
 
+    [ExceptionToClassNameConvention]
     internal sealed class ISO8859_14Decoder : Decoder
     {
         internal static readonly char[] TABLE = new char[]