lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [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
Date Thu, 26 Jan 2017 11:12:21 GMT
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 <shad@shadstorhaug.com>
Authored: Thu Jan 26 16:50:00 2017 +0700
Committer: Shad Storhaug <shad@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>


Mime
View raw message