You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/25 03:44:20 UTC

[36/50] [abbrv] lucenenet git commit: Lucene.Net.Tests.Queries.TestCustomScoreQuery.CustomScoreProviderAnonymousInnerClassHelper: Removed unnecessary context variable (using the one in the base class)

Lucene.Net.Tests.Queries.TestCustomScoreQuery.CustomScoreProviderAnonymousInnerClassHelper: Removed unnecessary context variable (using the one in the base class)


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

Branch: refs/heads/api-work
Commit: 75eeb851ae2a4694136ef3402953594b251e3e6d
Parents: aa9e48a
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Jan 25 06:40:04 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Jan 25 09:34:48 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/75eeb851/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs b/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs
index c2debc8..e18a41f 100644
--- a/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs
+++ b/src/Lucene.Net.Tests.Queries/TestCustomScoreQuery.cs
@@ -192,13 +192,11 @@ namespace Lucene.Net.Tests.Queries
             {
                 private readonly CustomExternalQuery outerInstance;
 
-                private AtomicReaderContext context;
                 private FieldCache.Ints values;
 
                 public CustomScoreProviderAnonymousInnerClassHelper(CustomExternalQuery outerInstance, AtomicReaderContext context, FieldCache.Ints values) : base(context)
                 {
                     this.outerInstance = outerInstance;
-                    this.context = context;
                     this.values = values;
                 }