lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] 02/02: Lucene.Net.Analysis.Common.Analysis.Synonym.FSTSynonymFilterFactory: Commented unused exception variable declaration to suppress the warning.
Date Thu, 08 Aug 2019 11:57:28 GMT
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 885d5b91eb209cc7c954679c5483e01ce9813fa9
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Thu Aug 8 18:56:38 2019 +0700

    Lucene.Net.Analysis.Common.Analysis.Synonym.FSTSynonymFilterFactory: Commented unused
exception variable declaration to suppress the warning.
---
 .../Analysis/Synonym/FSTSynonymFilterFactory.cs                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/FSTSynonymFilterFactory.cs b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/FSTSynonymFilterFactory.cs
index 20ca003..027627a 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/FSTSynonymFilterFactory.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/FSTSynonymFilterFactory.cs
@@ -132,7 +132,7 @@ namespace Lucene.Net.Analysis.Synonym
             {
                 parser = (SynonymMap.Parser)Activator.CreateInstance(clazz, new object[]
{ dedup, expand, analyzer });
             }
-            catch (Exception e)
+            catch (Exception /*e*/)
             {
                 throw; // LUCENENET: CA2200: Rethrow to preserve stack details (https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2200-rethrow-to-preserve-stack-details)
             }


Mime
View raw message