This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
from f1446f4c3 Lucene.Net.Documents.DateTools: Added exceptions to
documentation and added nullable reference type support.
new 9d9f1dbf6 BUG: Lucene.Net.Store.NRTCachingDirectory: Don't throw
exceptions when Dispose() is called multiple times. Also added checks to ensure
an ObjectDisposedException is thrown by any method call after Dispose() is
called. Fixed all other directory implementations and made the check atomic so
only the first call to Dispose() is run. Fixes #841. Related to #265.
new c49fd9a26 Lucene.Net.Store (Directory + MMapDirectory + NIOFSDirectory
+ SimpleFSDirectory): Upgraded all FSDirectories to allow multiple Dispose()
calls on IndexInputSlicer and BufferedIndexInput subclasses. See #265.
new 407fe1669 Lucene.Net.Codecs.MultiLevelSkipListReader: Allow
double-dispose calls and guard against usage after Dispose(). See #265.
new 3979c4ab3 Lucene.Net.Store.BufferedIndexOutput: Allow double-dispose
calls and guard against usage after Dispose(). See #265.
new a9c8388aa Lucene.Net.Store.RateLimitedIndexOutput: Allow
double-dispose calls and guard against usage after Dispose(). See #265.
new 5336dfc16 Lucene.Net.Store.InputStreamDataInput: Allow double-dispose
calls and guard against usage after Dispose(). See #265.
new e9c47b2de Lucene.Net.Store.OutputStreamDataOutput: Allow
double-dispose calls and guard against usage after Dispose(). See #265.
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../Store/BaseDirectoryTestCase.cs | 13 +++++
.../Store/BaseDirectoryWrapper.cs | 59 ++++++++++++++++++++--
.../Store/MockDirectoryWrapper.cs | 27 ++++++----
.../Support/TestApiConsistency.cs | 2 +-
src/Lucene.Net.Tests/Store/TestDirectory.cs | 14 +++++
.../Store/TestNRTCachingDirectory.cs | 13 +++++
src/Lucene.Net.Tests/Support/TestApiConsistency.cs | 2 +-
src/Lucene.Net/Codecs/MultiLevelSkipListReader.cs | 21 +++++++-
src/Lucene.Net/Store/BaseDirectory.cs | 55 +++++++++++++++++---
src/Lucene.Net/Store/BufferedIndexOutput.cs | 18 +++++++
src/Lucene.Net/Store/CompoundFileDirectory.cs | 11 ++--
src/Lucene.Net/Store/Directory.cs | 7 +++
src/Lucene.Net/Store/FSDirectory.cs | 5 +-
src/Lucene.Net/Store/InputStreamDataInput.cs | 4 ++
src/Lucene.Net/Store/MMapDirectory.cs | 8 ++-
src/Lucene.Net/Store/NIOFSDirectory.cs | 8 +++
src/Lucene.Net/Store/NRTCachingDirectory.cs | 29 +++++++++--
src/Lucene.Net/Store/OutputStreamDataOutput.cs | 4 ++
src/Lucene.Net/Store/RAMDirectory.cs | 4 +-
src/Lucene.Net/Store/RateLimitedIndexOutput.cs | 26 +++++++++-
src/Lucene.Net/Store/SimpleFSDirectory.cs | 8 +++
21 files changed, 296 insertions(+), 42 deletions(-)