lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [3/6] lucenenet git commit: Lucene.Net.Tests.Util.TestRamUsageEstimatorOnWildAnimals: elminiated compiler warning in .NET Core for unused field
Date Sun, 16 Apr 2017 10:38:04 GMT
Lucene.Net.Tests.Util.TestRamUsageEstimatorOnWildAnimals: elminiated compiler warning in .NET
Core for unused field


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

Branch: refs/heads/api-work
Commit: d498d01b6dcd9b6e400ecb38e8ff9b0329d29325
Parents: bb9ae7a
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Apr 16 00:32:38 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Apr 16 00:32:38 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/d498d01b/src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs b/src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs
index 610f6cf..c34ca84 100644
--- a/src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs
+++ b/src/Lucene.Net.Tests/Util/TestRamUsageEstimatorOnWildAnimals.cs
@@ -25,12 +25,12 @@ namespace Lucene.Net.Util
     [TestFixture]
     public class TestRamUsageEstimatorOnWildAnimals : LuceneTestCase
     {
+#if !NETSTANDARD // StackOverflowException cannot be caught in .NET Core. This test does
not apply.
         public class ListElement
         {
             internal ListElement Next;
         }
 
-#if !NETSTANDARD // StackOverflowException cannot be caught in .NET Core. This test does
not apply.
         [Test]
         public virtual void TestOverflowMaxChainLength()
         {


Mime
View raw message