lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: use GetSafe instead of Get to simulate java behavior
Date Sat, 02 May 2015 17:44:54 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master ef7a7ad88 -> 7a1f331a1


use GetSafe instead of Get to simulate java behavior


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

Branch: refs/heads/master
Commit: 3d6fb126fcda2dfc1e5a16908f6fb131e1b2b0b1
Parents: 27be98a
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 2 10:39:01 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 2 10:39:01 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/DocIdBitSet.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3d6fb126/src/Lucene.Net.Core/Util/DocIdBitSet.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/DocIdBitSet.cs b/src/Lucene.Net.Core/Util/DocIdBitSet.cs
index 6a08161..8c9d11a 100644
--- a/src/Lucene.Net.Core/Util/DocIdBitSet.cs
+++ b/src/Lucene.Net.Core/Util/DocIdBitSet.cs
@@ -68,7 +68,7 @@ namespace Lucene.Net.Util
 
         public bool Get(int index)
         {
-            return bitSet.Get(index);
+            return bitSet.SafeGet(index);
         }
 
         public int Length()


Mime
View raw message