You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/03/05 11:49:04 UTC
[25/50] [abbrv] lucenenet git commit:
Lucene.Net.Core.Store.FSDirectory: Corrected implementation to use
NIOFSDirectory instead of SimpleFSDirectory (since it is now implemented,
contrary to the comment)
Lucene.Net.Core.Store.FSDirectory: Corrected implementation to use NIOFSDirectory instead of SimpleFSDirectory (since it is now implemented, contrary to the comment)
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/115a603e
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/115a603e
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/115a603e
Branch: refs/heads/api-work
Commit: 115a603e9c71b36a0a14066abe7cb71fdc50b5db
Parents: f1a000d
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Fri Mar 3 14:30:57 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sun Mar 5 17:08:40 2017 +0700
----------------------------------------------------------------------
src/Lucene.Net.Core/Store/FSDirectory.cs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/115a603e/src/Lucene.Net.Core/Store/FSDirectory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Store/FSDirectory.cs b/src/Lucene.Net.Core/Store/FSDirectory.cs
index 538d484..50bb468 100644
--- a/src/Lucene.Net.Core/Store/FSDirectory.cs
+++ b/src/Lucene.Net.Core/Store/FSDirectory.cs
@@ -188,9 +188,7 @@ namespace Lucene.Net.Store
}
else
{
- //NIOFSDirectory is not implemented in Lucene.Net
- //return new NIOFSDirectory(path, lockFactory);
- return new SimpleFSDirectory(path, lockFactory); // LUCENENET TODO: NIOFSDirectory IS implemented in .NET - switch back to original
+ return new NIOFSDirectory(path, lockFactory);
}
}