From 760d01d09ff4d3b50adb43d0ba298a07bc767785 Mon Sep 17 00:00:00 2001 From: Paul Irwin Date: Sun, 22 Dec 2024 10:22:19 -0700 Subject: [PATCH] Remove using from LineFileDocs use --- src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs b/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs index 6ce386b1ef..72986281bd 100644 --- a/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs +++ b/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs @@ -704,7 +704,7 @@ public override void Run() { try { - using LineFileDocs docs = new LineFileDocs(Random, DefaultCodecSupportsDocValues); + LineFileDocs docs = new LineFileDocs(Random, DefaultCodecSupportsDocValues); int numDocs = 0; while (J2N.Time.NanoTime() < outerInstance.endTimeNanos) {