lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/2] lucenenet git commit: Lucene.Net.Tests.Facet.TestDrillSideways.DrillSidewaysAnonymousInnerClassHelper2 refactor: removed unnecessary config field, since it is already exposed as a protected field.
Date Wed, 01 Feb 2017 13:04:16 GMT
Lucene.Net.Tests.Facet.TestDrillSideways.DrillSidewaysAnonymousInnerClassHelper2 refactor:
removed unnecessary config field, since it is already exposed as a protected field.


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

Branch: refs/heads/api-work
Commit: 11a1a1c36f003e228f52e3f94121f65f29a04fbf
Parents: 35e6136
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 20:01:39 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 20:01:39 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Facet/TestDrillSideways.cs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/11a1a1c3/src/Lucene.Net.Tests.Facet/TestDrillSideways.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Facet/TestDrillSideways.cs b/src/Lucene.Net.Tests.Facet/TestDrillSideways.cs
index aa0ab31..f090be7 100644
--- a/src/Lucene.Net.Tests.Facet/TestDrillSideways.cs
+++ b/src/Lucene.Net.Tests.Facet/TestDrillSideways.cs
@@ -885,26 +885,24 @@ namespace Lucene.Net.Facet
         {
             private readonly TestDrillSideways outerInstance;
 
-            private new Lucene.Net.Facet.FacetsConfig config;
             private string[][] drillDowns;
 
             public DrillSidewaysAnonymousInnerClassHelper2(TestDrillSideways outerInstance,
IndexSearcher s, Lucene.Net.Facet.FacetsConfig config, TaxonomyReader tr, string[][] drillDowns)
                 : base(s, config, tr)
             {
                 this.outerInstance = outerInstance;
-                this.config = config;
                 this.drillDowns = drillDowns;
             }
 
             protected override Facets BuildFacetsResult(FacetsCollector drillDowns, FacetsCollector[]
drillSideways, string[] drillSidewaysDims)
             {
                 IDictionary<string, Facets> drillSidewaysFacets = new Dictionary<string,
Facets>();
-                Facets drillDownFacets = outerInstance.GetTaxonomyFacetCounts(m_taxoReader,
config, drillDowns);
+                Facets drillDownFacets = outerInstance.GetTaxonomyFacetCounts(m_taxoReader,
m_config, drillDowns);
                 if (drillSideways != null)
                 {
                     for (int i = 0; i < drillSideways.Length; i++)
                     {
-                        drillSidewaysFacets[drillSidewaysDims[i]] = outerInstance.GetTaxonomyFacetCounts(m_taxoReader,
config, drillSideways[i]);
+                        drillSidewaysFacets[drillSidewaysDims[i]] = outerInstance.GetTaxonomyFacetCounts(m_taxoReader,
m_config, drillSideways[i]);
                     }
                 }
 


Mime
View raw message