lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r921481 - /lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
Date Wed, 10 Mar 2010 17:54:20 GMT
Author: digy
Date: Wed Mar 10 17:54:20 2010
New Revision: 921481

URL: http://svn.apache.org/viewvc?rev=921481&view=rev
Log:
LUCENENET-348 Avoidable compiler warning

Modified:
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Search/Function/CustomScoreQuery.cs?rev=921481&r1=921480&r2=921481&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs Wed Mar
10 17:54:20 2010
@@ -204,11 +204,9 @@ namespace Lucene.Net.Search.Function
         class AnonymousCustomScoreProvider : CustomScoreProvider
         {
             CustomScoreQuery parent;
-            IndexReader reader;
             public AnonymousCustomScoreProvider(CustomScoreQuery parent, IndexReader reader)
: base(reader)
             {
                 this.parent = parent;
-                this.reader = reader;
             }
             public override float CustomScore(int doc, float subQueryScore, float[] valSrcScores)
             {



Mime
View raw message