You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2016/10/04 20:01:39 UTC
[09/46] lucenenet git commit: Fixed Facet.FacetTestCase.SortTies() to
include a sort length rather than end index.
Fixed Facet.FacetTestCase.SortTies() to include a sort length rather than end index.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/e9302a87
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/e9302a87
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/e9302a87
Branch: refs/heads/master
Commit: e9302a877437b8a5197756201a16d3a907301504
Parents: 44f7d9c
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sat Sep 24 20:30:05 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Mon Oct 3 23:30:52 2016 +0700
----------------------------------------------------------------------
src/Lucene.Net.Tests.Facet/FacetTestCase.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e9302a87/src/Lucene.Net.Tests.Facet/FacetTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Facet/FacetTestCase.cs b/src/Lucene.Net.Tests.Facet/FacetTestCase.cs
index 0c71f32..ccc5cdf 100644
--- a/src/Lucene.Net.Tests.Facet/FacetTestCase.cs
+++ b/src/Lucene.Net.Tests.Facet/FacetTestCase.cs
@@ -154,7 +154,7 @@ namespace Lucene.Net.Facet
{
if (numInRow > 1)
{
- Array.Sort(labelValues, i - numInRow, i, new ComparatorAnonymousInnerClassHelper(this));
+ Array.Sort(labelValues, i - numInRow, i - (i - numInRow), new ComparatorAnonymousInnerClassHelper(this));
}
numInRow = 1;
if (i < labelValues.Length)