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/01/26 11:12:21 UTC

[08/11] lucenenet git commit: Lucene.Net.Core.Store.IOContext: BUG - changed position of DEFAULT label in UsageContext enum to the top because it had the same value as MERGE when set explicitly

Lucene.Net.Core.Store.IOContext: BUG - changed position of DEFAULT label in UsageContext enum to the top because it had the same value as MERGE when set explicitly


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

Branch: refs/heads/api-work
Commit: dbe66cc48ae24481e0504c996d87c5c62a994143
Parents: 8d6b6c9
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Jan 26 16:50:00 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Jan 26 16:50:00 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Store/IOContext.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/dbe66cc4/src/Lucene.Net.Core/Store/IOContext.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Store/IOContext.cs b/src/Lucene.Net.Core/Store/IOContext.cs
index 8573544..1180c5b 100644
--- a/src/Lucene.Net.Core/Store/IOContext.cs
+++ b/src/Lucene.Net.Core/Store/IOContext.cs
@@ -35,10 +35,10 @@ namespace Lucene.Net.Store
         /// </summary>
         public enum UsageContext
         {
+            DEFAULT = 0, // LUCENENET NOTE: 0 is the default for any value type, so when not initialized, this is the value we get
             MERGE,
             READ,
-            FLUSH,
-            DEFAULT = 0 // LUCENENET NOTE: 0 is the default for any value type, so when not initialized, this is the value we get
+            FLUSH
         }
 
         /// <summary>