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 9caee944d5d1966d3dd5b63a7e1e7cd46169e164
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Aug 19 05:17:56 2020 +0700

    Lucene.Net.Diagnostics.Debugging: Changed AssertsEnabled to a static field
---
 src/Lucene.Net/Support/Diagnostics/Debugging.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lucene.Net/Support/Diagnostics/Debugging.cs 
b/src/Lucene.Net/Support/Diagnostics/Debugging.cs
index e4ce467..32ea1ea 100644
--- a/src/Lucene.Net/Support/Diagnostics/Debugging.cs
+++ b/src/Lucene.Net/Support/Diagnostics/Debugging.cs
@@ -34,7 +34,7 @@ namespace Lucene.Net.Diagnostics
         /// <see cref="Index.FreqProxTermsWriterPerField"/>, <see 
cref="Index.StoredFieldsProcessor"/>,
         /// <see cref="Index.TermVectorsConsumer"/>, and <see 
cref="Index.TermVectorsConsumerPerField"/>.
         /// </summary>
-        public static bool AssertsEnabled { get; set; } = 
SystemProperties.GetPropertyAsBoolean("assert", false);
+        public static bool AssertsEnabled = 
SystemProperties.GetPropertyAsBoolean("assert", false);
 
         ///// <summary>
         ///// Checks for a condition; if the condition is <c>false</c>, throws 
an <see cref="AssertionException"/>.

Reply via email to