lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/2] lucenenet git commit: Lucene.Net.Analysis.Common.Analysis.Hunspell.ISO8859_14Decoder: Added ExceptionToClassNameConvention attribute
Date Thu, 26 Jan 2017 02:50:07 GMT
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 <shad@shadstorhaug.com>
Authored: Thu Jan 26 09:46:48 2017 +0700
Committer: Shad Storhaug <shad@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 @@
-´╗┐using System;
+´╗┐using 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[]


Mime
View raw message