lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [09/46] lucenenet git commit: Fixed Facet.FacetTestCase.SortTies() to include a sort length rather than end index.
Date Tue, 04 Oct 2016 20:01:39 GMT
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 <shad@shadstorhaug.com>
Authored: Sat Sep 24 20:30:05 2016 +0700
Committer: Shad Storhaug <shad@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)


Mime
View raw message