lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [02/50] [abbrv] lucenenet git commit: Lucene.Net.Queries.TermsFilter.FieldAndTermEnum: Removed unnecessary OuterInstance property
Date Wed, 15 Mar 2017 23:49:44 GMT
Lucene.Net.Queries.TermsFilter.FieldAndTermEnum: Removed unnecessary OuterInstance property


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

Branch: refs/heads/api-work
Commit: 00fafce76f87017828b5b54677d858e18e17531b
Parents: 6c71672
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Mar 14 00:03:16 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Mar 14 07:49:31 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Queries/TermsFilter.cs | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/00fafce7/src/Lucene.Net.Queries/TermsFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/TermsFilter.cs b/src/Lucene.Net.Queries/TermsFilter.cs
index 62e25ac..3a04993 100644
--- a/src/Lucene.Net.Queries/TermsFilter.cs
+++ b/src/Lucene.Net.Queries/TermsFilter.cs
@@ -150,8 +150,6 @@ namespace Lucene.Net.Queries
 
         private TermsFilter(FieldAndTermEnum iter, int length)
         {
-            iter.OuterInstance = this; // .NET specific, since "this" can't be used in ctor
redirection
-
             // TODO: maybe use oal.index.PrefixCodedTerms instead?
             // If number of terms is more than a few hundred it
             // should be a win
@@ -386,8 +384,6 @@ namespace Lucene.Net.Queries
 
         private abstract class FieldAndTermEnum
         {
-            public TermsFilter OuterInstance { get; internal set; }
-
             protected string m_field;
 
             public abstract BytesRef Next();


Mime
View raw message