lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] 03/07: Lucene.Net.Benchmark.ByTask.Tasks.PerfTask: added IDisposable so the class can be used with a using block (it already had Dispose())
Date Sat, 13 Jul 2019 17:52:05 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 9ca60db033293d13cf01f80d7f5e74267c586794
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Sat Jul 13 09:21:12 2019 +0700

    Lucene.Net.Benchmark.ByTask.Tasks.PerfTask: added IDisposable so the class can be used
with a using block (it already had Dispose())
---
 src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs b/src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs
index bc4970c..b2c9043 100644
--- a/src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs
+++ b/src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs
@@ -58,9 +58,9 @@ namespace Lucene.Net.Benchmarks.ByTask.Tasks
     ///     </description></item>
     /// </list>
     /// </remarks>
-    public abstract class PerfTask
+    public abstract class PerfTask : IDisposable
 #if FEATURE_CLONEABLE
-        : System.ICloneable
+        , System.ICloneable
 #endif
     {
         internal static readonly int DEFAULT_LOG_STEP = 1000;


Mime
View raw message