lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [05/50] [abbrv] lucenenet git commit: Lucene.Net.Tests.Core (Index.TestFieldsReader.FaultyFSDirectory + Store.TestBufferedIndexInput.MockFSDirectory): added Obsolete attribute to FileExists() because it overrides an obsolete member
Date Wed, 25 Jan 2017 03:43:49 GMT
Lucene.Net.Tests.Core (Index.TestFieldsReader.FaultyFSDirectory + Store.TestBufferedIndexInput.MockFSDirectory):
added Obsolete attribute to FileExists() because it overrides an obsolete member


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/a781c2c9
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/a781c2c9
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/a781c2c9

Branch: refs/heads/api-work
Commit: a781c2c9b6fbc35615099b20236ae5ebdf100f1b
Parents: 15efa51
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Jan 25 03:01:12 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Jan 25 09:34:45 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs       | 1 +
 src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a781c2c9/src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs b/src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs
index 5025f45..bcc259c 100644
--- a/src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestFieldsReader.cs
@@ -133,6 +133,7 @@ namespace Lucene.Net.Index
                 return FsDir.ListAll();
             }
 
+            [Obsolete("this method will be removed in 5.0")]
             public override bool FileExists(string name)
             {
                 return FsDir.FileExists(name);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a781c2c9/src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs b/src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs
index c82ab20..79f6f5b 100644
--- a/src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs
+++ b/src/Lucene.Net.Tests/core/Store/TestBufferedIndexInput.cs
@@ -376,6 +376,7 @@ namespace Lucene.Net.Store
                 Dir.DeleteFile(name);
             }
 
+            [Obsolete("this method will be removed in 5.0")]
             public override bool FileExists(string name)
             {
                 return Dir.FileExists(name);


Mime
View raw message