lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [33/50] [abbrv] lucenenet git commit: Lucene.Net.Classification.Utils.DataSplitterTest: suppressed warning about unused exception variable
Date Wed, 25 Jan 2017 03:44:17 GMT
Lucene.Net.Classification.Utils.DataSplitterTest: suppressed warning about unused exception
variable


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

Branch: refs/heads/api-work
Commit: aaff58233d6f801c957f040229923bbca90d1ea9
Parents: f55556a
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Jan 25 06:13:18 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Jan 25 09:34:48 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/aaff5823/src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs b/src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs
index 765e262..4dc0a69 100644
--- a/src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs
+++ b/src/Lucene.Net.Tests.Classification/Utils/DataSplitterTest.cs
@@ -136,7 +136,9 @@ namespace Lucene.Net.Classification
                 if (reader != null)
                     reader.Dispose();
             }
+#pragma warning disable 168
             catch (Exception e)
+#pragma warning restore 168
             {
                 // do nothing
             }


Mime
View raw message