lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [2/6] lucenenet git commit: second param is number of items not max range
Date Sun, 11 Jan 2015 00:33:15 GMT
second param is number of items not max range


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

Branch: refs/heads/master
Commit: 08fd1990299bbbb1d4128fc71960f3069fb1556e
Parents: 7970bb6
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat Jan 10 07:46:52 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat Jan 10 07:46:52 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/08fd1990/src/Lucene.Net.Core/Util/FieldCacheSanityChecker.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/FieldCacheSanityChecker.cs b/src/Lucene.Net.Core/Util/FieldCacheSanityChecker.cs
index 4c446f2..8d7b293 100644
--- a/src/Lucene.Net.Core/Util/FieldCacheSanityChecker.cs
+++ b/src/Lucene.Net.Core/Util/FieldCacheSanityChecker.cs
@@ -309,7 +309,7 @@ namespace Lucene.Net.Util
                 }
             }
             // need to skip the first, because it was the seed
-            return all.GetRange(1, all.Count);
+            return all.GetRange(1, all.Count - 1);
         }
 
         /// <summary>


Mime
View raw message