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
The following commit(s) were added to refs/heads/master by this push:
new 9e356b5
Lucene.Net.Index.TestIndexReaderClose::TestCloseUnderException(): Removed
unused allocation from test loop
9e356b5 is described below
commit 9e356b55252c0d352465fc2e9e73052141e8c111
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Dec 15 10:02:01 2021 +0700
Lucene.Net.Index.TestIndexReaderClose::TestCloseUnderException(): Removed
unused allocation from test loop
---
src/Lucene.Net.Tests/Index/TestIndexReaderClose.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Lucene.Net.Tests/Index/TestIndexReaderClose.cs
b/src/Lucene.Net.Tests/Index/TestIndexReaderClose.cs
index 2933770..34ab36c 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexReaderClose.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexReaderClose.cs
@@ -47,7 +47,7 @@ namespace Lucene.Net.Index
bool throwOnClose = !Rarely();
AtomicReader wrap = SlowCompositeReaderWrapper.Wrap(open);
FilterAtomicReader reader = new
FilterAtomicReaderAnonymousClass(this, wrap, throwOnClose);
- IList<IndexReader.IReaderClosedListener> listeners = new
JCG.List<IndexReader.IReaderClosedListener>();
+ //IList<IndexReader.IReaderClosedListener> listeners = new
JCG.List<IndexReader.IReaderClosedListener>(); // LUCENENET: This list is
unused (and was unused in Java)
int listenerCount = Random.Next(20);
AtomicInt32 count = new AtomicInt32();
bool faultySet = false;