lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [02/28] lucenenet git commit: Lucene.Net.Misc.Index.Sorter.SortingMergePolicy.Info: added getter to prevent the test from failing.
Date Wed, 01 Feb 2017 10:21:59 GMT
Lucene.Net.Misc.Index.Sorter.SortingMergePolicy.Info: added getter to prevent the test from
failing.


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

Branch: refs/heads/api-work
Commit: 754202c35d61f1d0c63f6a66924ba7e4c8faf648
Parents: 681a70f
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 13:12:17 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 13:12:17 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/754202c3/src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs b/src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs
index 1175576..dd3eb7d 100644
--- a/src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs
+++ b/src/Lucene.Net.Misc/Index/Sorter/SortingMergePolicy.cs
@@ -91,6 +91,10 @@ namespace Lucene.Net.Index.Sorter
 
             public override SegmentCommitInfo Info
             {
+                get // LUCENENET specific: added getter
+                {
+                    return base.info;
+                }
                 set
                 {
                     IDictionary<string, string> diagnostics = value.Info.Diagnostics;


Mime
View raw message