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/25 03:44:17 UTC

[33/50] [abbrv] lucenenet git commit: Lucene.Net.Classification.Utils.DataSplitterTest: suppressed warning about unused exception variable

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 <sh...@shadstorhaug.com>
Authored: Wed Jan 25 06:13:18 2017 +0700
Committer: Shad Storhaug <sh...@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
             }